Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

Translatable Field

Readme

Nova Translatable Field and Language Activator

Adds the ability to show and edit translated fields created with astrotomic/laravel-translatable package. This is a fork of soluzione-software/nova-translatable-field. It makes Boolean fields translatable, works on File fields, CKeditor, ... Language switching is synced on all fields by default.

This is a version for Nova 4.x. For Nova 3.x use nova3 branch.

Installation and usage

composer require kreatorij/nova-translatable-field
use Kreatorij\Nova\Fields\Translatable;

Use it on fieds like:

Translatable::make(
	Text::make('Name', 'name')
),

Language Activator

This package adds LanguageActivator field that shows all activated languages on Index and Detail view and changes Boolean field to BooleanGroup for easier (de)activating certain translation. Should work on other fields too, it's just we need this for is_active to enable certain translation.

LanguageActivator::make(
	Boolean::make('Is Activated', 'is_active')
),

Credits

Thanks to:

Screenshots

Back to Top
Added 2 years ago
Last updated 2 Years Ago
Version 2.8.0
Composer
kreatorij/nova-translatable-field
GitHub stars 1
Packagist downloads 7,253

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas