flutter_gen icon indicating copy to clipboard operation
flutter_gen copied to clipboard

Json support, Json to translation strings

Open Tkko opened this issue 2 years ago • 1 comments

Hi, thanks for the package.

I'm using Json file to store translation strings:

{
  "appTitle": "Title",
  "continueButton": "Continue"
}

And I want to generate Strings class from it

class Strings {
  const Strings._();

  static const appTitle = 'appTitle';
  static const continueButton = 'continueButton';
}

Tkko avatar May 14 '22 18:05 Tkko

Want the same thing. looking to work with dynamic strings option too.

Mugilan-Codes avatar Oct 19 '22 01:10 Mugilan-Codes

This should be covered by Flutter's localization tool. There is no plan for us to create the same functionality.

AlexV525 avatar Mar 06 '24 17:03 AlexV525