2011-05-20, 20:41:30
Yeah, you're right.
It took me some time to figure out why, but now I understand. The $LANG variable can only be altered in the admin section and is stored in the current user's settings file. The front-end of your site knows nothing about users and thus the language always defaults to en_US, unless you define it explicitly.
So I've created an extra option in the News Manager settings panel where you can choose a language for the front-end part of your site. Note that this doesn't affect the language for the admin section of this plugin, that still follows the global setting.
A few extra strings have been added to the News Manager language files, including a date format. For some of the language files those new strings still have to be translated.
It took me some time to figure out why, but now I understand. The $LANG variable can only be altered in the admin section and is stored in the current user's settings file. The front-end of your site knows nothing about users and thus the language always defaults to en_US, unless you define it explicitly.
So I've created an extra option in the News Manager settings panel where you can choose a language for the front-end part of your site. Note that this doesn't affect the language for the admin section of this plugin, that still follows the global setting.
A few extra strings have been added to the News Manager language files, including a date format. For some of the language files those new strings still have to be translated.