merge_localizations 1.1.4 copy "merge_localizations: ^1.1.4" to clipboard
merge_localizations: ^1.1.4 copied to clipboard

Allows merging multiple nested .arb files into one root .arb file

merge_localizations #

Merges multiple nested .arb files into one.

Usage #

Given the following file structure

/screens
  /screen1
    screen1.dart
    screen1.arb
  /screen2
    screen2.dart
    screen2.arb
/language
merge_localizations.yaml

and the following merge_localizations.yaml (all properties are optional)

inputs-directories:
  - /screens
output-directory: /language
output-filename: language_en.arb
should-add-context: true

running dart run merge_localizations will combine screen1.arb and screen2.arb into a single /language/language_en.arb file.

3
likes
140
points
232
downloads

Publisher

unverified uploader

Weekly Downloads

Allows merging multiple nested .arb files into one root .arb file

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

path, yaml

More

Packages that depend on merge_localizations