Page 1 of 1

Language & News Module

Posted: Fri Jul 20, 2007 11:15 pm
by hansom
How do I get the text ouput by the {$return_url} to display in the chosen language when viewing a News article?

It doesn't matter what language code I specify with the lang parameter in the {news} tag, the text being displayed is according to the current global setting "Default language for the frontend". Does the lang parameter work with the News Module at all?

Re: Language & News Module

Posted: Sat Jul 21, 2007 4:09 pm
by reneh
I uses the tag  {news number='3' detailpage='nyheter' lang='nb_NO'}  on the newscal and the Returnurl is correct for me....

Re: Language & News Module

Posted: Wed Apr 16, 2008 4:03 pm
by mike-r
Hi, i have a similar question to that.
returnurl works for me, but i want to change the text from the output.

in the news-template i use:

Code: Select all

{$return_url}
it output me an link (in german): "Zurück" what linked correctly to the News-category.
But i want to edit the "zurück" to: "zurück to categoryname", where can i do that?

Re: Language & News Module

Posted: Wed Apr 16, 2008 8:02 pm
by alby
mike-r wrote: it output me an link (in german): "Zurück" what linked correctly to the News-category.
But i want to edit the "zurück" to: "zurück to categoryname", where can i do that?
Edit modules/News/lang/ext/de_DE.php

Alby

Re: Language & News Module

Posted: Wed Apr 16, 2008 8:25 pm
by mike-r
Thx a lot, that works for me, but it's a little bit - aehem - not optimal, because like similar to hack the Core.
If i made an Upgrade, it will be override.
Better for CMSMS - in my Opinion - should be, to use {tag text="My Text"}

Re: Language & News Module

Posted: Wed Apr 16, 2008 8:45 pm
by alby
mike-r wrote: Thx a lot, that works for me, but it's a little bit - aehem - not optimal, because like similar to hack the Core.
If i made an Upgrade, it will be override.
Better for CMSMS - in my Opinion - should be, to use {tag text="My Text"}
In this case you must ask for hack News code.
Put a feature request in News module in forge.

Alby