Skip to content

Localize

Maël Chiotti edited this page Oct 16, 2023 · 8 revisions

Translate

Translation files are located in the lib/l10n directory. They use the arb file format.

In the keys, avoid using reserved Dart words (like new) or special characters that can't be included in a Dart variable name (like -).

To check for untranslated keys, generate them and look in the lib/l10n/untranslated.txt file.

Generate

Generate the keys with : flutter gen-l10n.

Clone this wiki locally