TagDiv Slide Gallery translation

Posted in: Newspaper
Post count: 39

How and where to translate the numbering(word of) of gallery images.
e.g 1 of 10

Post count: 6600

Hi,

You can add the 'of' field in the td_translate.php file, add this code:

'of'=> __('of', TD_THEME_NAME),

..like this: http://screencast.com/t/Az7TZ1fYGl

You will now get the 'of' field in Theme Panel -> Translation: http://screencast.com/t/fuMjb0fCD
Result: http://screencast.com/t/TWZOThdG9Yq

Hope this helps.
Thanks

Post count: 39

Yes, I added the code on includes/wp_booster/td_translate.php
and it worked.

Thanks Lucian

Post count: 39

Hi, I added again this small fix on td_translate.php on latest theme upgrade.
Is this going to be added for future updates or I have to do it every time.

Post count: 39

Another thing is that when I click on an image inside gallery, it opens as expected as overlay with next/prev. arrows.
The text there is still ‘of’ and not the translated I entered on Translations.
Where is this located to change it too?

Thanks

Post count: 6600

Hi,

You will have to edit and add it every time, I will add this on our todo list and we will add it in future updates.
Regarding the “of” from here: http://screencast.com/t/4RYCmv2szVLU
You can change it from here: http://screencast.com/t/tbi7ZuwH Just find that code and change “of” into what you want.
Hope this helps!

Thanks

Post count: 39

Done it. Thanks Lucian.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.