A package to help manage multiple languages in a Flutter project.
Flutter L10N Manager #
Having lots of localisation files to manage can be quite tedious, especially for larger projects. This package aims to make that management easier. The manager will export all of your localisation files into one manageable CSV. This CSV can then be distributed between your translators and once your translations are complete, you can use the manager to rebuild your localisations files straight back into your Flutter project.
After cloning the package. Navigate to the package directory and create the executable.
dart2aot bin/main.dart bin/main.dart.aot
Then activate the executable file globally
pub global activate --source path path/to/flutterl10nmanager
The export command looks at you Flutter projects internationalisation directory and builds a single CSV containing all of your localisations as defined in
intl_messages.arb and all of the corisponding language values from your
flutterl10nmanager export path/to/flutter/l10n/dir -o optional/output/file.csv
The create command takes a csv which was generated by the
export command and creates an internationalisation arb file for each language specifed in the csv.
flutterl10nmanager create path/to/export.csv -o optional/output/dir