lajax / yii2-translate-manager

Translation Manager
MIT License
227 stars 90 forks source link

tableName from the Language Model #14

Closed Julian-B90 closed 9 years ago

Julian-B90 commented 9 years ago

I can´t customise the tableName from this Model => https://github.com/lajax/yii2-translate-manager/blob/master/models/Language.php#L58

lajax commented 9 years ago

You can customise the name of the table by changing the languageTable public variable.

eg.:

'translatemanager' => [
            'class' => 'lajax\translatemanager\Module',
            'languageTable' => 'YourTableName',
            // ...
    ]

Best Regards, Lajax

Julian-B90 commented 9 years ago

Thank You. :+1: