dmstr / lajax-yii2-translate-manager-addons
Addons for lajax/yii2-translatemanager
Installs: 37 475
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 6
Forks: 3
Open Issues: 0
Type:yii2-extension
Requires
- lajax/yii2-translate-manager: ^1.7.3
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-11-12 10:54:51 UTC
README
Addons for lajax/yii2-translatemanager
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dmstr/lajax-yii2-translate-manager-addons "*"
or add
"dmstr/lajax-yii2-translate-manager-addons": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, just add the following to your already installed translatemanager module config :
'translatemanager' => [ 'tables' => [ [ 'connection' => 'db', 'table' => 'example_table_name', 'columns' => ['column0','column1'] ] // Insert your own tables and column names as in the example above. ], 'scanners' => [ lajax\translatemanager\services\scanners\ScannerPhpFunction::class, lajax\translatemanager\services\scanners\ScannerPhpArray::class, lajax\translatemanager\services\scanners\ScannerJavaScriptFunction::class, dmstr\lajax\translatemanager\services\scanners\ScannerDatabase::class ] ]