i18n_builder 1.1.1 copy "i18n_builder: ^1.1.1" to clipboard
i18n_builder: ^1.1.1 copied to clipboard

A builder to automatically update i18n translation files for Flutter projects

i18n_builder #

A Dart builder that automatically updates i18n translation files.

Features #

  • Automatically detects .i18n keys in your Dart files
  • Updates translation JSON files
  • Maintains existing translations
  • Removes obsolete keys
  • based on format of translations in i18n_extension

Usage #

  1. Add to your pubspec.yaml:
dev_dependencies:
    i18n_builder: ^1.1.1
  1. (Optional) Add to your build.yaml or create a i18n_builder.yaml file:
builders:
    i18n_builder:
        enabled: true
        base_locale: en-US # default
        translations_dir: assets/translations # default
        key_is_base_text: true # default - if true, the key will be set to the base locale text

Suggestions #

  • You can use the BabelEdit to make easy translate your files.
0
likes
0
points
245
downloads

Publisher

verified publisheraquarino.com.br

Weekly Downloads

A builder to automatically update i18n translation files for Flutter projects

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build, path, source_gen

More

Packages that depend on i18n_builder