Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Freek Van der Herten:
Making Nova fields translatable
Nov 05, 2018 @ 15:53:23

Freek Van der Herten has a new post to his site sharing a method he's worked up to make Nova fields translatable as a part of the functionality provided by the Laravel Nova too.

Laravel Nova is cool package to quickly create admin interfaces in a Laravel app. Unfortunately there's no support for multiple locales out of the box. A while ago we published a package called nova-translatable that makes any of the built in field types translatable.

He shows how to use the package they've developed to store the translations in a JSON column in the related model's database table. He includes screenshots of the interface and code snippets along the way to help you easily integrate this feature into your resulting administration page(s).

tagged: laravel nova laravelnova field translate tutorial package

Link: https://murze.be/making-nova-fields-translatable


Trending Topics: