I am working on a legacy Flutter app which does not have translations.
I need to create many resource entries in the ARB file and then replace the text by AppLocalizations.of(context).something
.
Is there a builtin refactoring which I can invoke that partially automates this for me? Ideally I still do it for each string separately, since not all strings must be translated.
I have tried:
- right clicking on the string to find suitable actions
- invoking the light bulb to find suitable actions
- check the "Refactor" menu