Skip to content

Add tasks/commands for generation of the l10n from the .arb files #3949

@TiffApps

Description

@TiffApps

Is your feature request related to a problem? Please describe.
We always have to manually generate/regenerate the .arb files with a command in the terminal whenever we edit them, or we clone/pull a project.

Describe the solution you'd like
Like the task in pubspec.yaml that auto runs the command flutter pub get when we save it, I'd like to auto run the command flutter gen-l10n every time I save my .arb files. And probably also an icon at the top right of .arb files that does the same, again like the pubspec.yaml. Also, running this command whenever we clone/pull a project (like it does with flutter pub get) would be nice.

Describe alternatives you've considered
Using the command flutter gen-l10n in the terminal everytime we edit .arb files, or clone/pull a project.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in flutterRelates to running Flutter appsin tasksRelates to VS Code tasks, such as those provided by Task Providersis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions