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

[stable27] fix(l10n): Fix plural issue with different locale and language #38953

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #38917

We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.

Signed-off-by: Joas Schilling <[email protected]>
@nickvergessen nickvergessen force-pushed the backport/38917/stable27 branch from 546c1d0 to 81f9d9a Compare June 27, 2023 12:14
@blizzz blizzz mentioned this pull request Jul 10, 2023
@nickvergessen nickvergessen requested a review from blizzz July 10, 2023 15:33
@blizzz blizzz merged commit d3f50f2 into stable27 Jul 10, 2023
@blizzz blizzz deleted the backport/38917/stable27 branch July 10, 2023 16:30
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.

2 participants