Issues with Dart Intl library for translations Issues with Dart Intl library for translations dart dart

Issues with Dart Intl library for translations


See the doc of the intl package.

Basically you need to extract the messages to translate with :

pub run intl:extract_to_arb --output-dir=target/directory  my_program.dart more_of_my_program.dart

Then translate the arb files and finally generate .dart file for translated messages with :

 pub run intl:generate_from_arb --generated_file_prefix=<prefix>   <my_dart_files> <translated_ARB_files>