Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Ricardo Miura Friend
    #185142

    Hi, for some reason the translation next and prev button from thumbnail plugin it’s not work.
    I know that it’s automatic translate from joomla core language file, but for some reason it’s not working.
    Anyone could help me?
    Thanks

    http://www.bikestyle.com.br


    1. Screen-Shot-2013-02-20-at-9.13.17-PM
    Ninja Lead Moderator
    #484143

    You can find it here

    Open language/en-GB/en-GB.plg_content_plg_jathumbnail.ini file

    change it


    NEXT_JATHUMB="Next"
    PREV_JATHUMB="Prev"

    dieudonne Friend
    #484500

    ! The good way is to create the file !
    Example for french, duplicate the file “en-GB.plg_content_plg_jathumbnail.ini”, and rename it to the correct language : fr-FR.plg_content_plg_jathumbnail.ini

    In this duplicate file, make the change for NEXT_JATHUMB and PREV_JATHUMB.
    Put it in language/fr-FR/ and clear all caches to see the changes.

    Ricardo Miura Friend
    #484645

    Yeah, ok, but what if, I don’t find the file?

    I already try to create and nothing happen..


    1. Screen-Shot-2013-02-26-at-7.36.13-PM
    Ninja Lead Moderator
    #484665

    <em>@ricardomiura 361937 wrote:</em><blockquote>Yeah, ok, but what if, I don’t find the file?

    I already try to create and nothing happen..</blockquote>

    With Brazilian language on your site. You can work as follows :

    Copy administrator/language/en-GB/en-GB.plg_content_plg_jathumbnail.ini file

    Paste to
    administrator/language/pt-BR/

    Open en-GB.plg_content_plg_jathumbnail.ini file on pt-BR folder and rename to pt-BR.plg_content_plg_jathumbnail.ini file

    You can change text


    NEXT_JATHUMB="Next"
    PREV_JATHUMB="Prev"

    lselbach Friend
    #490543

    Hi there!
    I tried to do the same to JA Content Popup plugin, but the file
    en-GB.mod_jacontentpopup.ini

    Doesn´t have the PREV / NEXT entries.

    Any hint?
    Cheers
    Lucas

    Ninja Lead Moderator
    #490680

    This is bug on JA Content Popup module but i have fixed it and have been released on latest version but you can fix error this way

    + Open modules/mod_jacontentpopup/assets/js/skins/ja_slideshow/yoxview.ja_slideshow.js file

    find

    rightBtn.append('next');
    leftBtn.append('prev');

    change to

    rightBtn.append(lang.Next);
    leftBtn.append(lang.Prev);

    + Change language file

    Open modules/mod_jacontentpopup/assets/js/lang/en.js file

    And change

    "Prev" : "Prev"
    "Next" : "Next"

    lselbach Friend
    #491053

    Hi Ninja,
    Thanks for replying.

    My version already have a lang.Next code.

    I´m just curious why it didn´t opened the pt-br.js file – which is already translated, and it is my default language-, but opened the en.js.

    After making changes to en.js, it worked great.

    Just adding something else: the caption language are in the lines


    "PrevImage" : "Anterior",
    "NextImage" : "Proximo",

    So, everything is fine now.

    Regards
    Lucas

    1437dk Friend
    #539332

    Works great. But how do i translate til “of” (1 of 5)?

    Ninja Lead Moderator
    #539486

    <em>@1437dk 432808 wrote:</em><blockquote>Works great. But how do i translate til “of” (1 of 5)?</blockquote>

    You can try to change from the plugins/content/plg_jathumbnail/tmpl/thumbnail.php file as follows:

    <ul class="nav clearfix">
    <li class="prev"><?php echo JText::_('PREV_JATHUMB')?></li>
    <li class="counter"><?php echo JText::sprintf('<span class="item">%d</span> of <span class="total">%d</span>',1,count($images))?></li>
    <li class="next"><?php echo JText::_('NEXT_JATHUMB')?></li>
    </ul>

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 5 voices, and was last updated by  Ninja Lead 9 years, 10 months ago.

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