Forums / Developer / Localization of values trough l10n() simply doesn't work

Localization of values trough l10n() simply doesn't work

Author Message

Sven Ryen

Thursday 10 July 2003 8:22:42 am

I was under the impression that the l10n operator would be connected to the current ContentObjectLocale, but I'm incapable of making formatting reflect what language is currently displayed.

I.e. if I have a setup like this:
Language 0: nor-NO
Language 1: eng-GB
Language 2: ....

and append /language/[0|1|whatever] to any links, the content from the database appear translate - as expected, but no matter what I do, I can't make the text in templates reflect the current translation/locale.

What am I missing?