enable fr_FR, zh_CN translations
This commit is contained in:
parent
38c142d927
commit
cea4190b1d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
function startup_gettext() {
|
function startup_gettext() {
|
||||||
|
|
||||||
# Get locale from Accept-Language header
|
# Get locale from Accept-Language header
|
||||||
$lang = al2gt(array("en_US", "ru_RU"), "text/html");
|
$lang = al2gt(array("en_US", "ru_RU", "zh_CN", "fr_FR"), "text/html");
|
||||||
|
|
||||||
if ($lang) {
|
if ($lang) {
|
||||||
_setlocale(LC_MESSAGES, $lang);
|
_setlocale(LC_MESSAGES, $lang);
|
||||||
|
|
Loading…
Reference in a new issue