Page 1 of 1

language of page navigation not translated

Posted: Tue Dec 11, 2007 9:35 pm
by fejack
This question has probably already been asked before:

After changing a site's language, where can I find the last bits that remain in english in order to translate them manually?
The ones like [Next page], [^ top], and so on...

Re: language of page navigation not translated

Posted: Tue Dec 11, 2007 9:41 pm
by RonnyK
These are set according to the set language in Global Settings -> Default language for frontend.

Some labels remain English, as they are explicitly set in the template in the "Relational Links" are there , to show how parameters can be passed. So if you delete the label-parameter there, the language file will be used.

Ronny

Re: language of page navigation not translated

Posted: Sun May 04, 2008 9:07 pm
by albatroz
So, in summary, what is the file that is needed to be changed?

Re: language of page navigation not translated

Posted: Sun May 04, 2008 9:38 pm
by albatroz
I added to the file /plugins/function.cms_selflink.php
the following lines, however it didn't work :(

case 'es':
$Prev_label = "Pág. anterior: ";
$Next_label = "Pág. siguiente: ";
break;

Re: language of page navigation not translated

Posted: Sun May 04, 2008 9:44 pm
by Wiedmann
You are using the "lang" parameter for the cms_selflink tag?

Re: language of page navigation not translated

Posted: Sun May 04, 2008 9:48 pm
by albatroz
Wiedmann wrote: You are using the "lang" parameter for the cms_selflink tag?
Where should I add that tag?

Re: language of page navigation not translated

Posted: Mon May 05, 2008 4:48 am
by RonnyK
RonnyK wrote: Some labels remain English, as they are explicitly set in the template in the "Relational Links" are there , to show how parameters can be passed. So if you delete the label-parameter there, the language file will be used.
Check your template and search for "Relational links". In that area, you can specify the label of the next/prev links, as some already have one set there as an example....

Ronny