enable fr_FR, zh_CN translations

master
Andrew Dolgov 17 years ago
parent 38c142d927
commit cea4190b1d

@ -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…
Cancel
Save