diff --git a/news/326.feature b/news/326.feature new file mode 100644 index 0000000..7f29f74 --- /dev/null +++ b/news/326.feature @@ -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] diff --git a/plone/i18n/locales/languages.py b/plone/i18n/locales/languages.py index 817f5e1..eed7109 100644 --- a/plone/i18n/locales/languages.py +++ b/plone/i18n/locales/languages.py @@ -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", },