lyrebird
Editor visual para arquivos de localização de Bundle de Recursos de Aplicativo a serem usados com o pacote intl.
Aplicativo de lançamento do CLI Lyrebird escrito em Dart
Texto original em inglês. Visite o GitHub para a versão atual.
Lyrebird - Localization tool for Dart and Flutter
Website · Documentation · GitHub · pub.dev
A visual editor for Application Resource Bundle (.arb) localization files, enabling rapid development. It is specifically designed to be used for Dart and Flutter projects using the intl package.
The editor runs locally on your machine, meaning you can use familiar versioning tools like Git and do not have to upload or download localization files.
Warning: This project is very early in development, use with extreme caution! Make sure you have all important changes committed before trying it out.
Lyrebird editor screenshot
To install the Lyrebird launcher, run the command:
dart pub global activate lyrebird
Or, if you are using the Flutter CLI, run:
flutter pub global activate lyrebird
Optionally, you can add Lyrebird to your PATH variable. Consult the Dart documentation for more information.
Lyrebird uses the l10n.yaml configuration file
defined by the Flutter team and obeyed by the flutter gen-l10n command
as its project file. More specifically, the arb-dir field will be opened by Lyrebird for editing.
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
If you are working on a pure-Dart project, don't worry! You can also create an l10n.yaml file without using Flutter.
Navigate to the directory containing the l10n.yaml file in your terminal.
If you added Lyrebird to your PATH in the previous step, simply run
lyrebird
Otherwise, with the Dart CLI, run:
dart pub global run lyrebird
Or, using the Flutter CLI, run:
flutter pub global run lyrebird
Open the URL printed to the standard output in your browser. Use Ctrl+S (or Cmd+S on a Mac) to save your changes.
For more options, see
lyrebird --help