This module is used by the HumHub community to maintain the translations of the HumHub core and marketplace modules.
This module is not intended for use in HumHub instances!
Install
Enable it under Admin -> Modules
Open via Administration -> Manage -> Translation
In order to initialize the message files of an installed custom module with id my-module
, execute the following command within the
protected
directory of your installation:
php yii message/extract-module my-module
The following command is used to build the message archive. The message archive includes all
php yii translation/build-archive
For automatic translation:
protected/config/common.php
, add:
'modules' => [
'translation' => [
'googleApiKey' => 'YOUR-API-KEY-HERE',
]
],