Align demo apps to a consistent set of locales
Issue: Locales/language options in all demo apps are inconsistent
- Problem: The supported locales were inconsistent across demo apps.
- react-router-app: only de, en, es, fr
- adonisjs: only en, es
- next-app: ar, de, en, es, fr, ja, ko, ru, zh
- Impact: Confusing DX; switching between demos produced different locale behavior and missing translations during build.
Proposed fix
-
Standardize all demos to the same set as next-app: ar, de, en, es, fr, ja, ko, ru, zh.
-
All demos declare the same targetLocales in their compiler config.
-
UI LocaleSwitchers expose the same set of locales.
-
No manual edits to dictionaries; they are compiler-generated at build/dev.
@sumitsaurabh927 Noticed this inconsistency, I have worked on the issue, Linking the PR, Hope it helps
#1325
Thanks for the PR @siddhesh1051 but from now on, please wait to get assigned to an issue first before working on it.
That way your work doesn't amount to nothing in the issue isn't accepted for whatever reason.
If you feel like pushing a PR because you want to be the first one to contribute and are afraid that somebody else will add a PR to your issue, please keep this in mind:
Thanks for the clarification @sumitsaurabh927 🙏 I completely understand now — I’ll make sure to wait for assignment before starting work on any issue going forward. For this one, I had opened the issue myself and went ahead with the fix to validate the approach early. If you feel the issue and PR are valid, please assign it to me for now. Otherwise, happy to close it if it’s not needed.
Cheers ✌️
@davidturnbull review pls 🙏
We've just discussed this with the team and decided that having to keep a synchronized list of locales across all the demo apps would create an unnecessary maintenance for the team in the long run. Closing.