hemtt localization sort
Sorts the stringtables
Usage: sort [OPTIONS]
Options:
--only-lang Only sort the languages within keys
-h, --help Print help (see more with '--help')
Description
Sorts the stringtables
HEMTT will:
- Sort the Packages in alphabetical order.
- Sort the Containers in alphabetical order (if any).
- Sort the Keys in alphabetical order.
- Sort the Localized Strings in the order of this table
Benefits
- Reduces merge conflicts in version control
- Makes manual review easier with consistent ordering
- Standardizes format across all stringtables
Run this before committing stringtable changes for cleaner diffs.
Arguments
–only-lang
Only sort the languages within keys
Preserves the order of packages, containers, and keys, only sorting language entries.