只需运行yiic文件在您的项目的根目录(composer.json).
这是从yiic的帮助.
如果你有具体的问题让我知道.
原文链接:https://www.f2er.com/php/132321.html这是从yiic的帮助.
如果你有具体的问题让我知道.
./yii help message
DESCRIPTION
Extracts messages to be translated from source files.
The extracted messages can be saved the following depending on format
setting in config file:
- PHP message source files.
- “.po” files.
- Database.
Usage:
1. Create a configuration file using the ‘message/config’ command: yii message/config /path/to/myapp/messages/config.PHP
2. Edit the created config file,adjusting it for your web application needs.
3. Run the ‘message/extract’ command,using created config: yii message /path/to/myapp/messages/config.PHPSUB-COMMANDS
- message/config: Creates a configuration file for the “extract” command.
- message/extract (default): Extracts messages to be translated from source c…
To see the detailed information about individual sub-commands,enter:
yii help