Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EZP-31591: Farsi (Persian) language is missing in internal locale conversion map #52

Merged
merged 2 commits into from
Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eZ/Bundle/EzPublishCoreBundle/Resources/config/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/**
* Interface for locale converters.
* eZ Publish uses <ISO639-2/B>-<ISO3166-Alpha2> locale format (mostly, some supported locales being out of this format, e.g. cro-HR).
* eZ Platform uses <ISO639-2/B>-<ISO3166-Alpha2> locale format (mostly, some supported locales being out of this format, e.g. cro-HR).
alongosz marked this conversation as resolved.
Show resolved Hide resolved
* Symfony uses the standard POSIX locale format (<ISO639-1>_<ISO3166-Alpha2>), which is supported by Intl PHP extension.
*
* Locale converters are meant to convert in those 2 formats back and forth.
Expand Down