diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-02-10 02:37:16 +0000 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-02-10 02:37:16 +0000 |
| commit | c2eee4746533af10779934f705138fe9bb567550 (patch) | |
| tree | 1b97e2e233906117db905bab5d5c2668bfc4c93c /core/config | |
| parent | dce6548431c4d61ab6c532375a0f030d8de72fd1 (diff) | |
Move site default_locale into DB (vars) and add a per user locale preference.
There's no UI to select the locale yet.
Diffstat (limited to 'core/config')
| -rw-r--r-- | core/config/locale.php | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/core/config/locale.php b/core/config/locale.php index d9f95664..3cea9178 100644 --- a/core/config/locale.php +++ b/core/config/locale.php @@ -40,15 +40,7 @@ $config['timezone'] = ''; * The locale of the built-in localization messages (locale of strings in translate() calls). * This can't be changed easily, unless all localization strings are replaced in all source files * as well. + * Although the actual root is "en_US", the configured root is "en" that all en locales inherit the + * built-in strings. */ -$config['root_locale'] = 'en'; - -/** - * The default locale of this installation. - */ -$config['default_locale'] = 'en_US'; - -/** - * The path to the folder with translation files. - */ -$config['locale_dir'] = VARPATH . 'locale/';
\ No newline at end of file +$config['root_locale'] = 'en';
\ No newline at end of file |
