-
AuthorPosts
-
February 21, 2013 at 12:14 am #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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 21, 2013 at 9:36 am #484143You 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 Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
February 25, 2013 at 10:42 pm #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.iniIn 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.1 user says Thank You to dieudonne for this useful post
February 26, 2013 at 10:38 pm #484645Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 27, 2013 at 3:35 am #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"
1 user says Thank You to Ninja Lead for this useful post
April 20, 2013 at 3:37 pm #490543Hi there!
I tried to do the same to JA Content Popup plugin, but the file
en-GB.mod_jacontentpopup.iniDoesn´t have the PREV / NEXT entries.
Any hint?
Cheers
LucasNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 22, 2013 at 9:55 am #490680This 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 fileOpen modules/mod_jacontentpopup/assets/js/lang/en.js file
And change
"Prev" : "Prev"
"Next" : "Next"1 user says Thank You to Ninja Lead for this useful post
April 25, 2013 at 2:42 pm #491053Hi 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
LucasJune 18, 2014 at 9:11 am #539332Works great. But how do i translate til “of” (1 of 5)?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 19, 2014 at 9:24 am #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>AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 5 voices, and was last updated by Ninja Lead 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum