Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tableName from the Language Model #14

Closed
Julian-B90 opened this issue Apr 3, 2015 · 2 comments
Closed

tableName from the Language Model #14

Julian-B90 opened this issue Apr 3, 2015 · 2 comments

Comments

@Julian-B90
Copy link

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

@lajax lajax closed this as completed in d423540 Apr 5, 2015
@lajax
Copy link
Owner

lajax commented Apr 5, 2015

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
Copy link
Author

Thank You. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants