Skip to content

amarula/ftu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build License: MIT

ftu - Flutter Translation Utility

ftu is used to generate CSV translation files from Flutter projects that use GetX for internationalization and translations.

Usage

CSV Generation

To generate the CSV just run the program choosing the language within the Flutter project directory:

ftu -l it

or define the project location via the parameter

ftu -l en -p /home/work/flutter-project

The result will be a CSV-generated file containing 3 columns: location, source, and translation.

Dart translation generation

To generate the Dart file containing the translation from the CSV, run the program choosing the language e specify the CSV file:

ftu -l de --csv de.csv

The result will be a de.dart file containing a Map<String,String> of translations.

Authors

About

Flutter Translation Utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages