Add LOCALE config settings

next to the current lang/encoding add locale that is a combination of
both.
Also add a locale folder constant

the default LANG variables (DEFAULT_LANG, SITE_LANG) change from en_utf8
to en_US
new DEFAULT_LOCALE with en_US.UTF-8
This commit is contained in:
Clemens Schwaighofer
2022-04-12 20:14:41 +09:00
parent 3f374a2cd7
commit d553c1364f
3 changed files with 20 additions and 6 deletions

View File

@@ -27,7 +27,9 @@ $__LOCAL_CONFIG = [
'db_host' => 'test',
'location' => 'test',
'debug_flag' => true,
'site_lang' => 'en_utf8',
'site_lang' => 'en_US',
'site_encoding' => 'UTF-8',
'site_locale' => 'en_US.UTF-8',
'login_enabled' => true
];
@@ -45,7 +47,10 @@ $SITE_CONFIG = [
// show DEBUG override
'debug_flag' => true,
// site language
'site_lang' => 'en_utf8',
'site_lang' => 'en_US',
'site_encoding' => 'UTF-8',
// lang + encoding
'site_locale' => 'en_US.UTF-8',
// enable/disable login override
'login_enabled' => true
],