2011-05-09, 04:33:56
In GS 2.03 the variable $LANG was always set to the back end user's language, even when rendering the front end.
In GS 3.0 (because of Multi-User-Capabilities?) $LANG is always set to en_US, when on the front end.
How should plugins determine the language of the site? I only found out now, because I always use the I18N plugin.
There needs to be a setting "site language" in the back end or every plugin must have a setting itself.
BTW: this renders the frontend part of the wiki/I18N page (without I18N plugin) invalid.
In GS 3.0 (because of Multi-User-Capabilities?) $LANG is always set to en_US, when on the front end.
How should plugins determine the language of the site? I only found out now, because I always use the I18N plugin.
There needs to be a setting "site language" in the back end or every plugin must have a setting itself.
BTW: this renders the frontend part of the wiki/I18N page (without I18N plugin) invalid.