From ade67ee44e0c3a1d32330cea46ca9e7d92d27071 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Wed, 22 Apr 2020 11:01:54 +0200 Subject: [PATCH 1/2] EZP-31591: Farsi (Persian) language is missing in internal locale conversion map --- eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml | 2 ++ 1 file changed, 2 insertions(+) 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'] From 1958a6470bbef36a692d8b1bf9ebf09989075907 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Wed, 22 Apr 2020 11:02:05 +0200 Subject: [PATCH 2/2] Renamed product name in LocaleConverterInterface doc-block --- eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.