2011-06-24, 00:07:32
Now that GS has MU capabilities, every user has his/her language for the backend, but how to define the default for the site? (used in the login screen).
In http://get-simple.info/wiki/plugins:i18n#front-end you can read it can be done by inserting in gsconfig.php a line like this:
Questions:
- Is this intented only for use in the backend? Should plugin authors also consider that the default frontend language?
- Shouldn't default [temp.]gsconfig.php include something like this?
- Wouldn't it be better (to be consistent with the rest of configurable options) to define it as a php constant?
In http://get-simple.info/wiki/plugins:i18n#front-end you can read it can be done by inserting in gsconfig.php a line like this:
Code:
$LANG = 'de_DE';
Questions:
- Is this intented only for use in the backend? Should plugin authors also consider that the default frontend language?
- Shouldn't default [temp.]gsconfig.php include something like this?
Code:
# default site language:
#$LANG = 'en_US';
- Wouldn't it be better (to be consistent with the rest of configurable options) to define it as a php constant?