Skip to content
pubscout

intl_utils_formatter

1.0.1, released 3 years ago by dholasain.com

A command-line utility to sort and format .arb localization files in Flutter projects.

$ flutter pub add intl_utils_formatter

What it does

It reads specified .arb files from your pubspec.yaml configuration and formats them in ascending order along with their metadata keys. Developers can run a single command to maintain consistency and standardization across their localization files.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to keep your .arb localization files sorted and consistently formatted
  • You use intl_utils and need a clean way to organize translation keys

Skip it when

  • You use an all-in-one localization package like slang or easy_localization that manages its own workflows
  • You prefer manual sorting of translation files

Strengths

  • Simplifies .arb file management with a single CLI command
  • Easy configuration directly within pubspec.yaml

Weaknesses

  • Very narrow scope focused solely on sorting and formatting .arb files
  • Not an alternative to a full localization library

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add as a development dependency and configure file paths under the intl_utils_formatter key in your pubspec.yaml.

intl_utils_formatter:
  files:
    - lib/l10n/intl_en.arb
    - lib/l10n/intl_ur.arb

# Run command:
# dart run intl_utils_formatter:format

Alternatives

Packages that do the same job and could replace intl_utils_formatter.

Works with

Packages commonly used together with intl_utils_formatter: ones it builds on, ones built on it, and its own family.