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

  1. To activate the package, run the following command:

    dart pub global activate excel_to_arb

  2. 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>

Libraries