rebellion 0.1.0 copy "rebellion: ^0.1.0" to clipboard
rebellion: ^0.1.0 copied to clipboard

A linter for Flutter's ARB files. Analyze ARB files and find possible issues, find missing translations and sort ARB files

example/README.md

Analyze #

Analyze ARB files:

rebellion analyze test_files/

Result:

test_files/intl_fi.arb: all caps string key "key2"
test_files/intl_en.arb: all caps string key "key2"
test_files/intl_en.arb: all caps string key "key4"
test_files/intl_fi.arb: no @@locale key found
test_files/intl_en.arb: key "@key4" is missing placeholders definition
test_files/intl_fi.arb key "key3" is missing a plural value "one"
test_files/intl_en.arb key "key3" contains a redundant plural value "zero"
test_files/intl_fi.arb: missing translation for key "key4"
test_files/intl_fi.arb: missing translation for key "key_5"
test_files/intl_fi.arb: @-key "@key" should only be present in the main file
test_files/intl_en.arb: key "key_5" does not match selected naming convention (camel case)

11 issues found

Diff #

Find missing translations and print them to console:

rebellion diff ./myLocalizationsFolder --output=console

Result

TODO

Sort #

Sort keys in ARB files:

rebellion sort ./myLocalizationsFolder
3
likes
150
points
144
downloads

Publisher

verified publisherrebelappstudio.com

Weekly Downloads

A linter for Flutter's ARB files. Analyze ARB files and find possible issues, find missing translations and sort ARB files

Repository (GitHub)
View/report issues

Topics

#localization #l10n #lints #analysis #analyzer

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, collection, equatable, file, json_events, meta, path, yaml

More

Packages that depend on rebellion