GetSimple Support Forum
GS 3.0: Frontend language? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: GS 3.0: Frontend language? (/showthread.php?tid=1680)



GS 3.0: Frontend language? - mvlcek - 2011-05-09

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.