exp:ezgeneratetranslationcache
Generate translation cache files (--ts-list limits it to the given translations).
Script bin/php/ezgeneratetranslationcache.php, code in kernel/private/classes/commands/ezgeneratetranslationcache.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezgeneratetranslationcache --help
php bin/php/ezgeneratetranslationcache.php --helpOptions
| Option | Value | Help |
|---|---|---|
--ts-list | required | A list of translations to generate caches for, for example 'rus-RU nor-NO' By default caches for all translations will be generated |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/ezgeneratetranslationcache.php, kernel/private/classes/commands/ezgeneratetranslationcache.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.