flutterl10nmanager 1.0.1 copy "flutterl10nmanager: ^1.0.1" to clipboard
flutterl10nmanager: ^1.0.1 copied to clipboard

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.

Install #

After cloning the package. Navigate to the package directory and create the executable.

dart2aot bin/main.dart bin/main.dart.aot
copied to clipboard

Then activate the executable file globally

pub global activate --source path path/to/flutterl10nmanager
copied to clipboard

Commands #

export #

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 intl_<locale>.arb files.

example usage:

flutterl10nmanager export path/to/flutter/l10n/dir -o optional/output/file.csv
copied to clipboard

create #

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.

example usage:

flutterl10nmanager create path/to/export.csv -o optional/output/dir
copied to clipboard
0
likes
30
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.21 - 2025.03.05

A package to help manage multiple languages in a Flutter project.

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

ansicolor, args, csv, intl

More

Packages that depend on flutterl10nmanager