Waavi / translation

Better translation management for Laravel
MIT License
359 stars 167 forks source link

Set different tables names #162

Open gabi85ro opened 4 years ago

gabi85ro commented 4 years ago

Would it be possible to add a config option in config/translator.php to use different names for the database tables used? Like: 'translations_table' => env('TRANSLATOR_TRANSLATION_TABLE', 'translator_translations'), 'languages_table' => env('TRANSLATOR_LANGUAGES_TABLE', 'translator_languages'), and set the table attribute in their respective models Or maybe an easier way to extend the Language and Translation Repository and table models

tanvir-retailai commented 4 years ago

This could be a nice feature. I can able to set the table name as PascalCase.