mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 09:01:29 +00:00
enable fr_FR, zh_CN translations
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user