aissat / easy_localization

Easy and Fast internationalizing your Flutter Apps
https://pub.dev/packages/easy_localization
MIT License
881 stars 312 forks source link

[Feature Request]: Support namespaces / multiple files per language #666

Open stonymahony opened 2 months ago

stonymahony commented 2 months ago

Firstly, many thanks for the package, especially the key generation is a lifesaver!

What I wish for would be the support of namespaces as defined in i18n, the advantages are listed there.

Meaning, it should be possible to split the translations into several files for each language.

Example:

/assets/i18n
    - fr
      - general.json
      - navbar.json
    - en
      - general.json
      - navbar.json

Is there any chance of implementing this? How complex is this, does it require major changes to the status quo?