aissat / easy_localization

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

generate key from simple string #731

Open interdev7 opened 1 week ago

interdev7 commented 1 week ago

dart run easy_localization:generate -f keys -o tr_keys.g.dart -S ./assets/translations -O tr_generated

this command can't generate key from simple string. For example: key in assets/translations/en.json file : 'Favorite addresses'

image
interdev7 commented 1 week ago

Shouldn't it be like: static const Favorite_addresses = 'Favorite addresses' ?