variety of premium plugins

Learn More

translatable-pro

Translatable Pro is a premium package, get your license here

Custom Phrases Model

you can use separate table and model class for each model phrases: to generate a new phrases model with a migration, you can use the command:

1php artisan zeus-translatable-pro:make:model

The command will prompts you for the class name. It is good practice to separate the phrases models into a subdirectory, such as app/Models/Phrases.

The command will also ask you for the column type. If you are using phrases to only store simple text like post titles, you can set the column type to string. However, if you have more data, like post content, it is better to use long text.

and of course you can always edit the migration files to your needs before running the migration