easy_localization icon indicating copy to clipboard operation
easy_localization copied to clipboard

change name of generated class LocaleKeys

Open ffgiraldez opened this issue 3 years ago • 2 comments

Hi, thanks for this great library. There is a way to change the generated name of LocaleKeys when using

flutter pub run easy_localization:generate --source-dir 'assets/l10n' --output-dir 'lib/gen' --output-file 'translations.g.dart' --format keys

I know I can specify the output file but there is a way to change the class name? maybe based on the output file?

ffgiraldez avatar Jan 27 '22 15:01 ffgiraldez

Hi @ffgiraldez not yet

aissat avatar Mar 01 '22 23:03 aissat

Hi @aissat, thanks for the package!

Is it going to be implemented? It would be nice to generate a shorter class name like "Lck" as its going to be used a lot.

NatanielRegula avatar Apr 21 '22 22:04 NatanielRegula

any progress or are you open PR to this feature from community?

ayberkcal avatar Mar 29 '23 23:03 ayberkcal