Manual:GenerateJsonI18n.php

generateJSONi18n.php is used to generate json formatted i18n from the legacy PHP array based mediawiki i18n file.

Usage
Usage: php generateJSONi18n.php [--conf|--dbpass|--dbuser|--globals|--help|--jsondir|--langcode|--memory-limit|--phpfile|--profiler|--quiet|--server|--wiki]

Script specific parameters:
 * --jsondir: Directory to write JSON files to
 * --langcode: Language code; only needed for converting core i18n files
 * --phpfile: PHP file defining a $messages array

Example
php generateJSONi18n.php --phpfile=ExtensionName.i18n.php --jsondir=i18n