diff --git a/CHANGELOG.md b/CHANGELOG.md index 1075db5..0cd1329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,7 @@ - Image files, which are not used by the installer, were removed. - In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed. - The installer header now shines in a simple FlatPress style. - - Added missing language files for Spanish and French ([#214](https://github.com/flatpressblog/flatpress/issues/214)) + - Added missing language files for Greek, Spanish and French ([#214](https://github.com/flatpressblog/flatpress/issues/214)) ## Themes - Reworked "Leggero v2" style, Admin Area now responsive ([#259](https://github.com/flatpressblog/flatpress/issues/259)) diff --git a/fp-interface/lang/browserlang.php b/fp-interface/lang/browserlang.php index 73af3df..e6d9fc7 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','es-es',fr-fr','it-it','ja-jp','nl-nl','pt-br','sl-si')" + * @param array Allowed Languages "array('cs-cz','de-de','en-us','es-es',fr-fr','el-gr','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', 'es-es', 'fr-fr', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us'); +$browserLang = getBrowserLanguage(array('cs-cz', 'de-de', 'en-us', 'es-es', 'fr-fr', 'el-gr', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us'); ?>