Write Sorting
What It Does
Write sorting keeps translation key order stable in locale files, reducing noisy diffs and improving reviews.

How to Use
Entry Points
- Sidebar (
Grimoire) ->Sort - Command Palette ->
i18n Mage: Sort
Sort Modes
nonebyKeybyPosition(flat locale structure only)
Auto Sort After Fix
sortAfterFix = true: sort automatically afterFixsortAfterFix = false: sort only when manually triggered
Related Settings
i18n-mage.writeRules.sortRulei18n-mage.writeRules.sortAfterFixi18n-mage.writeRules.languageStructure
Tips
- Use
byKeyfor stable deterministic output across teams. - Use
byPositionwhen you want key order aligned with source-code appearance.
