By perloe on
Hello, I've been trying to find a way to translate the 'Next', 'Prev', 'Read More', etc text that is displayed automatically by the Views module when using the pager on a multilingual site. I tried doing it through the translate interface techniques that seem to work for text that passes through the t() function, but it doesn't seem to work for the pager text. Any ideas would be appreciated. Thanks!
Comments
No ideas?
I'm sure I can't be the only one who has come across this issue. Does anyone have any ideas?
"of"
Looking for a way to translate the word "of" in the pager ( 1 "of" 3 ).
Should this be done with the template.php-file? If so: please tell us where to find the necessary code, so we can change it.
try this
search for the string: @current of @max
Thanks!
Works for me (found it through admin/build/translate/search).
On the Dutch forum I was given two other options in case @current of @max wouldn't work:
Use the Localization client-module or override the mini pager theme function.
I can't find @current of
I can't find @current of @max. I'm using drupal 7 (what is the equivalent admin/build/translate/search? )
i18n Views
D7: admin/config/regional/translate/translate
Make sure you have enabled the Internationalization Views module.
It is worked for me.
Thanks @mariusilie, its worked for me.
Thanks, I found 'of'. Now I
Thanks, I found 'of'. Now I need 'next' and 'Prev', there were 'no strings available' when I searched for this. Any idea how to translate them? (I'm displaying a calendar using views and calander module).
in case someone needs this
search for these instead:
« first
‹ previous
next ›
last »
I couldn't find the terms
I couldn't find the terms using the terms in the posting above either.
This was enough for me:
This was enough for me:
Edit views - then go to "Pager" section and click "Full" - then clik "settings" - then go to "Text for "first"-link" and change it to only "« "
Do the same for the rest of the tags.
Hope this may help somebody!!
Configuration Translation module
Use the module Configuration Translation and add a translation to your view. Then you find these translation options.