Skip to content

fix(L10N): stop stripping _ from language codes#58571

Merged
salmart-dev merged 1 commit intomasterfrom
fix/regional-languages
Feb 25, 2026
Merged

fix(L10N): stop stripping _ from language codes#58571
salmart-dev merged 1 commit intomasterfrom
fix/regional-languages

Conversation

@salmart-dev
Copy link
Contributor

@salmart-dev salmart-dev commented Feb 25, 2026

Summary

Stops stripping _ from language codes which breaks translations for all languages like de_DE and similar.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@salmart-dev salmart-dev added this to the Nextcloud 33.0.2 milestone Feb 25, 2026
@salmart-dev salmart-dev self-assigned this Feb 25, 2026
@salmart-dev salmart-dev changed the title fix(L10N): stop striping _ from language codes fix(L10N): stop stripping _ from language codes Feb 25, 2026
Stripping the underscore breaks support for all languages like de_AT,
de_DE and so on...

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@salmart-dev salmart-dev force-pushed the fix/regional-languages branch from 56074c8 to ec0ed78 Compare February 25, 2026 14:28
@salmart-dev
Copy link
Contributor Author

/backport to stable33

@salmart-dev
Copy link
Contributor Author

/backport to stable32

@salmart-dev
Copy link
Contributor Author

/backport to stable31

@salmart-dev salmart-dev marked this pull request as ready for review February 25, 2026 14:29
@salmart-dev salmart-dev requested a review from a team as a code owner February 25, 2026 14:29
@salmart-dev salmart-dev requested review from Altahrim, ArtificialOwl, come-nc and icewind1991 and removed request for a team February 25, 2026 14:29
@salmart-dev
Copy link
Contributor Author

For future reference: the bug seems to have been introduced in #57414

@salmart-dev salmart-dev merged commit 7e264ba into master Feb 25, 2026
179 of 183 checks passed
@salmart-dev salmart-dev deleted the fix/regional-languages branch February 25, 2026 15:54
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