79643364

Date: 2025-05-29 05:52:27
Score: 1
Natty:
Report link

yes, you can generate a json file with the values.
This string_extractor_intl package extracts hardcoded strings from your Flutter project and generates ARB files (app_en.arb) for localization.

No need to manually extract strings for localization if you are already deep into your project.

Generate app_en.arb and use replace strings with AppLocalizations.of(context).something in your project manually. Then translate the en file to other languages. The --replace tag has some issues, which is supposed to replace all the strings with AppLocalizations.of(context).something for you.

https://pub.dev/packages/string_extractor_intl

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mumin Ahmod