Standardize Supported Locales Across All Demo Apps
Issue: Inconsistent locale/language options across demo apps
Problem: The supported locales differ between demo applications:
react-router-app: de, en, es, fr
adonisjs: en, es
next-app: ar, de, en, es, fr, ja, ko, ru, zh
This inconsistency leads to a confusing developer experience (DX), as switching between demos can result in different locale behaviors and missing translations during build.
Proposed Fix:
Standardize all demo apps to use the same set of locales as next-app: ar, de, en, es, fr, ja, ko, ru, zh.
Declare the same targetLocales in each demo's compiler configuration.
Ensure all UI LocaleSwitchers expose the standardized set of locales.
No manual edits to translation dictionaries; all translations remain compiler-generated during build or development.
Next Steps: I’ve addressed this inconsistency in a PR. Linking the PR here—hope this improves DX across all demos
I am working on this issue
Great find @tosKenil
Do you want to work on this?
This is not needed, because it will create unnecessary ongoing maintenance cost for the team. Thanks.