Skip to content

Fix i18n locale loading for regional codes (de-DE, en-US, etc.)#6258

Open
dev-cb wants to merge 1 commit intobigbluebutton:masterfrom
dev-cb:fix-i18n-issue-6257
Open

Fix i18n locale loading for regional codes (de-DE, en-US, etc.)#6258
dev-cb wants to merge 1 commit intobigbluebutton:masterfrom
dev-cb:fix-i18n-issue-6257

Conversation

@dev-cb
Copy link
Copy Markdown

@dev-cb dev-cb commented Apr 8, 2026

  • fixes issue i18n locale loading fails for regional locales (e.g. de-DE) #6257
  • Switch load strategy from 'currentOnly' to 'languageOnly' to normalize
    regional locale codes (de-DE → de) matching available backend files
  • Simplify fallbackLng to static array since normalization is automatic
  • Add error handling to i18n.changeLanguage() to prevent crashes on
    locale load failures

- fixes issue bigbluebutton#6257
- Switch load strategy from 'currentOnly' to 'languageOnly' to normalize
  regional locale codes (de-DE → de) matching available backend files
- Simplify fallbackLng to static array since normalization is automatic
- Add error handling to i18n.changeLanguage() to prevent crashes on
  locale load failures
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant