slang-i18n / slang

Type-safe i18n for Dart and Flutter
https://pub.dev/packages/slang
MIT License
474 stars 39 forks source link

Is it necessary to use namespace for translation files? #239

Closed codercengiz closed 2 months ago

codercengiz commented 3 months ago

I am the new user for slang, Can I use just en-US.yaml or en-US.i18n.yaml? I dont need to write <namespace>_en-US.yaml When I use the generator gives error.

Tienisto commented 3 months ago

Yes, a namespace (even a dummy namespace) is currently expected by the generator