Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • khaiug Friend
    #169820

    Hi,
    I want to change the words : NEXT, PREV, READ MORE.. in the JA News Featured Module from english to arabic.
    and change the word ‘OF’ in the same module.

    I’ve changed it in the languagear-AA file, NEXT & PREV has been changed, but the ‘READ MORE.. ‘ didn’t..?!
    I’ve cleaned the cache in Joomla, and cleared browser cache, but didn’t changed.!
    and didn’t know how to change the word ‘OF’.

    On the JA News Pro Module, I want to change the word: ‘More:’ ..

    The words that need translation appear in the read squares in the attached image.

    How to do that?

    Regards


    1. JA-News-Pro_snapshot
    khoand Friend
    #420170

    Hi,
    Do you use Joomla 1.5 or 1.7?

    khaiug Friend
    #420174

    Hi,
    Sorry, I forgot to tell you that i use Joomla! 1.7.1

    Regards

    jooservices Friend
    #420175

    Hi,
    You can take a look in the En language file (en-GB) if your arabic language did not have the code to translate to can add it from en-GB to your language
    For example :
    READ_MORE=”Read more…”
    If you can find this string in arabic language pack you can add it into and translate the string after “=”
    Regards
    Viet Vu.

    khaiug Friend
    #420181

    Hello,
    I’ve searched for there words,
    I changed Next, PREV,
    But can’t change ‘Read More.. ‘, ‘Of’, ‘All’, ‘More:’

    They aren’t available in the ar-AA language file

    Where can i find there texts?

    Regards

    khoand Friend
    #420183

    <em>@khaiug 276960 wrote:</em><blockquote>Hello,
    I’ve searched for there words,
    I changed Next, PREV,
    But can’t change ‘Read More.. ‘, ‘Of’, ‘All’, ‘More:’

    They aren’t available in the ar-AA language file

    Where can i find there texts?

    Regards</blockquote>
    You change this code from templatesja_teline_ivhtmlmod_janews_featureddefaultblog.php in the line #66

    <span><?php echo JText::_('READ MORE...');?></span>
    You add this code into languageen-GBen-GB.mod_janews_featured.ini

    OF="of"
    You add this code into languageen-GBen-GB.mod_janewspro.ini

    ALL="All"
    You change this code from languageen-GBen-GB.mod_janewspro.ini

    MORE="More:"

    khaiug Friend
    #420192

    Grate, nice
    Thank you

    Can’t I add the ‘Read More.. ‘ in this code from templatesja_teline_ivhtmlmod_janews_featuredd efaultblog.php in the line #66 to language file ?? I don’t want to change the php code.. is that possible?

    Other question please,
    for the word ‘Of’ :
    if it was english, it was like ( 1 of 4 ),
    Now, when i changed it to arabic, it appeared like ( 14 of ),
    so, i should modify the php code.. which file?

    Regards

    khoand Friend
    #420246

    <em>@khaiug 276973 wrote:</em><blockquote>

    if it was english, it was like ( 1 of 4 ),
    Now, when i changed it to arabic, it appeared like ( 14 of ),
    so, i should modify the php code.. which file?

    Regards</blockquote>
    You replace this code from templatesja_teline_ivhtmlmod_janews_featureddefaultblog.php in the line #76

    <span class="box-counter"><span class="counter">1</span> <?php echo JText::_('of')?> <?php echo $bigitems?></span>
    with

    <span class="box-counter"><span class="counter">1</span> <?php echo $bigitems?><?php echo JText::_('of')?> </span>

    khaiug Friend
    #420282

    Nice, Thanks a lot khond, that worked perfect

    But, for the JA News Featured Module, how can i translate the “Read more… ” through the language file? NOT through editing the php code?

    Regards

    jooservices Friend
    #420339

    Hi
    It should be code like this


    <?php if ($showhlreadmore) {?>
    <p class="readmore">
    <a href="<?php echo $news->link?>" class="readon" title="<?php echo JText::_('READ MORE...');?>"><span><?php echo JText::_('READ MORE...');?></span></a>
    </p>

    So you can use READ MORE in your language file.
    Thank you
    Viet Vu

    khaiug Friend
    #420377

    Hi jooservices,
    If you mean the code from templatesja_teline_ivhtmlmod_janews_featureddefaultblog.php in the line #66..
    It’s the same.
    where to change?

    What is the previous code (which file and line), and what is the replacement?

    Regards

    jooservices Friend
    #420385

    Hi,
    you can change into the language file
    site/language/en-GB/en-GB.mod_janews_featured.ini ( this is the en version if you use on another language you can go to site/language/xx-XX/xx-XX.mod_janews_featured.ini)
    xx-XX is the your language name.
    You can search for
    [PHP]READ MORE…[/PHP]
    If in your language file did not have this string you can add it into
    READ MORE…= ‘ the translate string you want’.

    Regards
    Viet Vu.

    khaiug Friend
    #420388

    Hi,
    there is ( READ_MORE… = “Read more” ) entry in the En language file,
    I’ve copied the language file to the other language folder, renamed it to the other language,
    and translated the entry ( READ_MORE… = “xxxxxxxx” )
    I’ve done this before writing this thread, but it didn’t work ..! ( I’ve cleaned the cache )

    I’ve done the same with ( NEXT and PREV ), it worked very well

    So.. ?

    Regards

    jooservices Friend
    #420398

    Hi
    May i’ve your FTP access for checking ?
    Thank you
    Viet Vu

    khaiug Friend
    #420423

    <em>@jooservices 277216 wrote:</em><blockquote>Hi
    May i’ve your FTP access for checking ?
    Thank you
    Viet Vu</blockquote>
    I’ve sent you PM.

    I think it seems that the php code doesn’t support language parameter to (Read More … ) with Ja News Featured ..

    Regards

Viewing 15 posts - 1 through 15 (of 21 total)

This topic contains 21 replies, has 4 voices, and was last updated by  komar89 13 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum