Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Plone 6: Let the sr language be Latin: Sprski. #39

Merged
merged 1 commit into from
Oct 17, 2021
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
4 changes: 4 additions & 0 deletions news/326.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Let the sr language be Latin: Sprski.
If you want to use the Cyrillic character set variant,
set environment variable `zope_i18n_allowed_languages` to `sr@Cyrl`.
[maurits]
6 changes: 3 additions & 3 deletions plone/i18n/locales/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,9 @@ class MetadataLanguageAvailability(LanguageAvailability):
"sr": {
# Note: we support two character sets for this language.
# See zope_i18n_allowed_languages below.
# TODO: in Plone 6.0 native should become 'Srpski',
# but that requires copying sr@Latn to sr in plone.app.locales.
"native": "српски",
# Until and including 5.2, native was Cyrillic: српски.
# In Plone 6.0 native became Latin: Srpski.
"native": "Srpski",
"name": "Serbian",
"flag": "/++resource++country-flags/cs.gif",
},
Expand Down