Language files customized for setup
- Spanish language file created for the setup - FlatPress title in setup now multilingual
This commit is contained in:
parent
505cb60935
commit
cdb2566357
@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Get the language code from the browser
|
* 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 Default language
|
||||||
* @param string Language string from HTTP-Header
|
* @param string Language string from HTTP-Header
|
||||||
* @param bool Strict-Mode
|
* @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!
|
// 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"
|
// 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');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user