From cdb25663574572354ad020cc8170485796e390fe Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Mon, 9 Oct 2023 01:17:27 +0200 Subject: [PATCH] Language files customized for setup - Spanish language file created for the setup - FlatPress title in setup now multilingual --- fp-interface/lang/browserlang.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-interface/lang/browserlang.php b/fp-interface/lang/browserlang.php index aba0fc7..ec01842 100644 --- a/fp-interface/lang/browserlang.php +++ b/fp-interface/lang/browserlang.php @@ -2,7 +2,7 @@ /** * Get the language code from the browser * - * @param array Allowed Languages "array('cs-cz','de-de','en-us','it-it','ja-jp','nl-nl','pt-br','sl-si')" + * @param array Allowed Languages "array('cs-cz','de-de','en-us','es-es','it-it','ja-jp','nl-nl','pt-br','sl-si')" * @param string Default language * @param string Language string from HTTP-Header * @param bool Strict-Mode @@ -60,6 +60,6 @@ function getBrowserLanguage($arrAllowedLanguages, $strDefaultLanguage, $strLangV // Only enter another language abbreviation here, if the language files are available for FlatPress, the plugins, the admin area and for the setup! // accept the following languages, otherwise fall back to "en-us" -$browserLang = getBrowserLanguage(array('cs-cz', 'de-de', 'en-us', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us'); +$browserLang = getBrowserLanguage(array('cs-cz', 'de-de', 'en-us', 'es-es', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us'); ?>