Commands
- Language — Usage Report — scans your code for
Text::_('KEY')(and XML form constants) and diffs against every.ini, listing keys used but undefined (they render as the raw constant) and defined but unused (dead strings). - Language — Sync Keys Across Languages — treats
en-GBas the master and adds any missing keys to the other languages (copying the English value or an empty stub). - Language — Validate & Sort .ini — flags invalid lines and duplicate keys, then optionally dedupes and alphabetizes the open file.
- Language — Add Key — adds one key to every file of a chosen suffix at once.
- Language — Scaffold Files — creates
en-GB.<element>.ini+.sys.inifor a new extension.
Why it matters
Joomla .ini is strict — KEY="value" with mandatory double quotes. A single malformed line silently drops every key after it at runtime, so the validator catches problems you'd otherwise only see as missing text on the site. Part of the Moko VS Code suite.