exp:ezgeneratetranslationcache
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
Generate translation cache files (--ts-list limits it to the given translations)
Usage
./console exp:ezgeneratetranslationcache [options] php bin/php/ezgeneratetranslationcache.php [options]
Help
The output of ./console help exp:ezgeneratetranslationcache (the script run with --help), without the standard options:
Usage: bin/php/ezgeneratetranslationcache.php [OPTION]...
This script will generate caches for translations.
Default usage: ./bin/php/ezgeneratetranslationcache -s setup
Options:
--ts-list=VALUE A list of translations to generate caches for, for example 'rus-RU nor-NO'
By default caches for all translations will be generatedOptions
| Option | Value | Description |
|---|---|---|
| --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 |
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/ezgeneratetranslationcache.php, kernel/private/classes/commands/ezgeneratetranslationcache.php
See also
Generated example: exp:ezgeneratetranslationcache
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment