Skip to content

Localization: Restores region-specific cultures (#20939)#20942

Merged
leekelleher merged 1 commit intorelease/16.4from
v16/bugfix/localization-manifest-for-regions
Nov 24, 2025
Merged

Localization: Restores region-specific cultures (#20939)#20942
leekelleher merged 1 commit intorelease/16.4from
v16/bugfix/localization-manifest-for-regions

Conversation

@iOvergaard
Copy link
Contributor

Cherry-pick / backport #20939 to V16.

* Adds localization manifests for region-specific cultures

This is to support backwards-compatibility and v13 upgradability.

* Removed `uiCulture` from Vietnamese localizations

since it duplicated the English fallback texts.

* 'en' localization file formatting

* Update src/Umbraco.Web.UI.Client/src/assets/lang/en.ts

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores region-specific culture support to the Umbraco backoffice localization system by adding 24 new region-specific culture variants (e.g., cs-CZ, da-DK, de-DE) that were previously removed. These variants enable users to select more specific locale options while falling back to the base language translations. The changes also include updates to the English localization file to display proper native names for all cultures and corrections to Hebrew and Romanian native translations, plus removal of an obsolete uiCulture section from the Vietnamese localization file.

  • Adds 24 region-specific culture manifest entries without js imports (relying on base language fallback)
  • Updates English uiCulture dictionary with region-specific culture names and fixes Hebrew/Romanian native names
  • Removes obsolete uiCulture section from Vietnamese localization file
  • Removes weight property from all localization manifests (formatting cleanup)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/Umbraco.Web.UI.Client/src/packages/core/localization/manifests.ts Adds 24 region-specific culture manifests, removes weight properties, and reformats meta objects for consistency
src/Umbraco.Web.UI.Client/src/assets/lang/en.ts Expands uiCulture dictionary with region-specific entries and corrects Hebrew/Romanian native names
src/Umbraco.Web.UI.Client/src/assets/lang/vi.ts Removes obsolete uiCulture section

@leekelleher leekelleher enabled auto-merge (squash) November 24, 2025 15:21
@leekelleher leekelleher merged commit aea9034 into release/16.4 Nov 24, 2025
31 checks passed
@leekelleher leekelleher deleted the v16/bugfix/localization-manifest-for-regions branch November 24, 2025 15:27
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