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)