excel_to_arb 1.0.2
excel_to_arb: ^1.0.2 copied to clipboard
A command-line tool to convert Excel localization files into ARB (Application Resource Bundle) format for Flutter/Dart internationalization.
Excel to ARB Generator #
An open-source tool for converting Excel files into ARB (Application Resource Bundle) files for app localization.
GitHub: https://github.com/Kaung-Myat/excel_to_arb
Installation #
-
To activate the package, run the following command:
dart pub global activate excel_to_arb -
Prepare your Excel file:
-
Name must follow pattern: app_*.xlsx (e.g.,
app_my.xlsx) -
Structure your spreadsheet with these columns:
Key Value Description (optional) Placeholder (name:type) hello မင်္ဂလာပါ Greeting text name:String , age: int goodbye နုတ်ဆက်ပါတယ် Farewell text name:String , age: int
Example files available in:
resources/l10n/ -
Usage #
Finally Run the generator with:
excel_to_arb <source directory> <target directory>