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

Support Cyrillic and Latin character sets for Serbian. [4.x] #37

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

mauritsvanrees
Copy link
Member

This is for branch 4.x (Plone 5.2). I will make a PR for master as well.

See collective/plone.app.locales#326

Let 'sr' be general Serbian. Can be Latin or Cyrillic.
You can influence which character set is used, by choosing one of three values in an environment variable:

zope_i18n_allowed_languages sr
zope_i18n_allowed_languages sr@Cyrl
zope_i18n_allowed_languages sr@Latn

Default character set in Plone 5.2 is Cyrillic, but this may change to Latin in 6.0.

See collective/plone.app.locales#326

Let 'sr' be general Serbian. Can be Latin or Cyrillic.
You can influence which character set is used, by choosing one of three values in an environment variable:

```
zope_i18n_allowed_languages sr
zope_i18n_allowed_languages sr@Cyrl
zope_i18n_allowed_languages sr@Latn
```

Default character set in Plone 5.2 is Cyrillic, but this may change to Latin in 6.0.
@mister-roboto

This comment has been minimized.

@mauritsvanrees
Copy link
Member Author

Testing these together on Jenkins 5.2:

https://github.com/plone/plone.i18n/pull/37
https://github.com/collective/plone.app.locales/pull/327

mauritsvanrees added a commit that referenced this pull request Sep 7, 2021
mister-roboto pushed a commit to plone/buildout.coredev that referenced this pull request Oct 14, 2021
Branch: refs/heads/master
Date: 2021-09-07T17:12:09+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.i18n@838e2b9

Support Cyrillic and Latin character sets for Serbian.

See collective/plone.app.locales#326.

This is a forward port of plone/plone.i18n#37 from 4.x to master.

Files changed:
A news/326.feature
M plone/i18n/locales/languages.py
Repository: plone.i18n

Branch: refs/heads/master
Date: 2021-10-14T12:40:18+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.i18n@e9589cf

Merge pull request #38 from plone/maurits/serbian-master

Support Cyrillic and Latin character sets for Serbian. [master]

Files changed:
A news/326.feature
M plone/i18n/locales/languages.py
@jensens jensens merged commit 8cbc721 into 4.x Oct 14, 2021
@jensens jensens deleted the maurits/serbian-4x branch October 14, 2021 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants