lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

Standardize Supported Locales Across All Demo Apps

Open tosKenil opened this issue 3 months ago • 2 comments

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

tosKenil avatar Oct 30 '25 08:10 tosKenil

I am working on this issue

CwPranay avatar Oct 30 '25 09:10 CwPranay

Image

Great find @tosKenil

Do you want to work on this?

sumitsaurabh927 avatar Oct 31 '25 18:10 sumitsaurabh927

This is not needed, because it will create unnecessary ongoing maintenance cost for the team. Thanks.

maxprilutskiy avatar Nov 10 '25 07:11 maxprilutskiy