Import Excel

Safely import approved translations from an XLSX workbook into Android strings.xml after validation

jason0404 fded63b 1.0 KB Updated

File contents

Apply reviewed translations from a workbook into selected Android locale resources.

Workflow

  1. Identify the workbook path, base locale, target resource scope and locale-column mapping.
  2. Invoke android-localization-import-validator.
  3. Block any invalid row before writing:
    • key absent from base resources
    • placeholder mismatch
    • malformed XML/escaping
    • ambiguous locale folder mapping
    • unintended update to base/source text
  4. On explicit approval to import, update only confirmed target-locale values.
  5. Re-run android-strings-auditor against changed resources.
  6. Optionally invoke android-localization-report-generator.

Safety rules

  • Never rename or delete base keys automatically.
  • Preserve Android placeholders, markup and resource metadata.
  • Keep the diff minimal and deterministic.
  • List each modified locale file and number of changed values.

jason0404/Jason-Android-Marketplace/tree/main/plugins/android-localization-toolkit/skills/import-excel commit fded63b4ce

Frequently asked questions

npx skillmds@latest add jason0404/import-excel