Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change name of generated class LocaleKeys #449

Open
ffgiraldez opened this issue Jan 27, 2022 · 3 comments
Open

change name of generated class LocaleKeys #449

ffgiraldez opened this issue Jan 27, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@ffgiraldez
Copy link

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?

@aissat aissat added the enhancement New feature or request label Mar 1, 2022
@aissat
Copy link
Owner

aissat commented Mar 1, 2022

Hi @ffgiraldez not yet

@NatanielRegula
Copy link

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.

@ayberkcal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants