langcodec-cli (Command Line)
Universal CLI for converting, inspecting, and merging localization files.
- Formats: Apple
.strings,.xcstrings, Androidstrings.xml, CSV, TSV - Commands: convert, merge, view, stats, debug
Install
Commands
convert
Auto-detects formats from extensions. For JSON/YAML custom formats, see --input-format in the root README.
merge
view
Prints entries. Plurals are labeled with Type: Plural and show categories.
stats
Shows per-language totals, counts by status, and completion percent (excludes DoNotTranslate). Use --json for machine-readable output.
debug
Notes
- Android plurals
<plurals>are supported. - Language inference:
en.lproj/Localizable.strings,values-es/strings.xml, basevalues/→enby default. - Globbing: use quotes for patterns in merge (e.g.,
'**/*.xml').
License
MIT