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?
Language & News Module
Re: Language & News Module
I uses the tag {news number='3' detailpage='nyheter' lang='nb_NO'} on the newscal and the Returnurl is correct for me....
ReneH 
A search will save you hours waiting for an answer!

A search will save you hours waiting for an answer!

Re: Language & News Module
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:
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?
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}
But i want to edit the "zurück" to: "zurück to categoryname", where can i do that?
Re: Language & News Module
Edit modules/News/lang/ext/de_DE.phpmike-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?
Alby
Re: Language & News Module
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"}
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
In this case you must ask for hack News code.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"}
Put a feature request in News module in forge.
Alby