From c2eee4746533af10779934f705138fe9bb567550 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Tue, 10 Feb 2009 02:37:16 +0000 Subject: Move site default_locale into DB (vars) and add a per user locale preference. There's no UI to select the locale yet. --- core/config/locale.php | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'core/config') 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 -- cgit v1.2.3