Skip to content

The locale mapping only checks the language code but doesn't account for all 14 locales defined in locales_config.xml (en, pt-BR, es-ES, fr, ca, nl, it, de, ko, sw, zh-CN, tr, ur, ar). This will cause languages like French, German, Italian, etc. to incorrectly map to ENGLISH. Either expand the AppLanguage enum to cover all supported languages or update the mapping logic to handle the full locale set. #56

@JnCoe

Description

@JnCoe

The locale mapping only checks the language code but doesn't account for all 14 locales defined in locales_config.xml (en, pt-BR, es-ES, fr, ca, nl, it, de, ko, sw, zh-CN, tr, ur, ar). This will cause languages like French, German, Italian, etc. to incorrectly map to ENGLISH. Either expand the AppLanguage enum to cover all supported languages or update the mapping logic to handle the full locale set.

Originally posted by @Copilot in #55 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions