From 6a9df1dddf0aa0398ee0fc41674fa076cd41b4aa Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Thu, 23 Apr 2020 10:28:59 +0200 Subject: [PATCH] EZP-31591: Farsi (Persian) language is missing in internal locale conversion map (#52) --- eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml | 2 ++ eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml b/eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml index 18ebc7ad27..1b04070a27 100644 --- a/eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml +++ b/eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml @@ -20,6 +20,7 @@ parameters: epo-EO: eo esl-ES: es_ES esl-MX: es_MX + fas-IR: fa_IR fin-FI: fi_FI fre-BE: fr_BE fre-CA: fr_CA @@ -65,6 +66,7 @@ parameters: en: ['eng-GB', 'eng-US'] en_us: ['eng-US'] es: ['esl-ES'] + fa: ['fas-IR'] fi: ['fin-FI'] fr: ['fre-FR'] gb: ['eng-GB'] diff --git a/eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php b/eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php index a726746769..5d84a342a2 100644 --- a/eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php +++ b/eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php @@ -8,7 +8,7 @@ /** * Interface for locale converters. - * eZ Publish uses - locale format (mostly, some supported locales being out of this format, e.g. cro-HR). + * eZ Platform uses - locale format (mostly, some supported locales being out of this format, e.g. cro-HR). * Symfony uses the standard POSIX locale format (_), which is supported by Intl PHP extension. * * Locale converters are meant to convert in those 2 formats back and forth.