Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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:

  1. Sort the Packages in alphabetical order.
  2. Sort the Containers in alphabetical order (if any).
  3. Sort the Keys in alphabetical order.
  4. 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.