outl1ne/nova-translatable
Larablocks Analysis
Compatibility
Trusted maintaineroutl1ne/nova-translatable works with Laravel 12 and 13 (latest release 3.1.0, Apr 27, 2026).
- Trusted maintainer: outl1ne publishes 14 packages on Larablocks, with 1,109,644 downloads a month between them.
Recommendation checks
RecommendedRecommended by Larablocks: meets all 4 checks.
- Works with Laravel 13, the current version
- Released in the last 12 months (Apr 27, 2026)
- 36,470 downloads a month (at least 10,000)
- 203 GitHub stars (at least 100)
State
Maintained- Last stable release: Apr 27, 2026.
- 2 releases in the last 12 months.
- First released: Dec 30, 2019.
- Monthly downloads: 36,470, up 124% from six months ago.
- 17 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require outl1ne/nova-translatable |
|
| Latest Version: | 3.1.0 |
| PHP: | >=8.1 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Apr 27, 2026 |
| Links: | GitHub · Packagist |
Nova Translatable
This Laravel Nova allows you to make any input field spatie/laravel-translatable compatible and localisable.
Requirements
PHP: ^8.0laravel/nova: ^4.12spatie/laravel-translatable: ^4.0 || ^5.0 || ^6.0
Features
- Supports almost all fields (including third party ones)
- Supports default validation automatically
- Simple to implement with minimal code changes (after
spatie/laravel-translatablesupport) - Locale tabs to switch between different locale values of the same field
- Double click on a tab to switch all fields to that locale
- Supports nova-settings package
Known non-working fields
ImageandFile- Workarounds:
- outl1ne/nova-media-hub
- or any library that uploads images/files using XHR
- Workarounds:
Limitations
- The following methods can not be used, as this package uses them internally:
resolveUsingfillUsing
Screenshots

Installation
Firstly, set up spatie/laravel-translatable.
Install the package in a Laravel Nova project via Composer:
# Install nova-translatable
composer require outl1ne/nova-translatable
# Publish configuration (optional, but useful for setting default locales)
php artisan vendor:publish --tag="nova-translatable-config"
Usage
Call ->translatable() on any field, like so:
// Any Nova field
Text::make('Name')
->rules('required', 'min:2')
->translatable(),
// Any third-party input field
Multiselect::make('Football teams')
->rules('required')
->translatable(),
// Optionally pass custom locales on a per-field basis
Number::make('Population')
->translatable([
'en' => 'English',
'et' => 'Estonian',
]),
Validation
It's possible to define locale specific validation rules.
To do so, add the ->rulesFor() on your field and the HandlesTranslatable trait to your Nova resource.
->rulesFor accepts array|string|callable locales and array|callable rules.
use Outl1ne\NovaTranslatable\HandlesTranslatable;
class Product extends Resource
{
use HandlesTranslatable;
public function fields(Request $request)
{
return [
Text::make(__('Name'), 'name')
->sortable()
->translatable()
->rules(['max:255'])
->rulesFor('en', [
'required',
])
->rulesFor(['en', 'et'], function ($locale) {
return ["unique:products,name->$locale{{resourceId}}"];
}),
];
}
}
In this example, rules will be added to the following values
max: name.*
required: name.en
unique: name.en & name.et
Configuration
You can define default locales for all the translatable fields in the config file. The config file can be published using:
php artisan vendor:publish --tag="nova-translatable-config"
Fill other locales from config option
The configuration option fill_other_locales_from allows you to pre-fill other locales from just one locale. This requires the resources to also have the HandlesTranslatable trait.
One select for all fields on a page
If you don't want to display the locale select next to each field, you can set the display_type to none and add a Outl1ne\NovaTranslatable\Fields\LocaleSelect field to your Nova resource. This will render a single select for all fields.
Custom locale display
To customize the locale display you can use Nova::provideToScript to pass customLocaleDisplay as in the example below.
// in app/Providers/NovaServiceProvider.php
public function boot()
{
Nova::serving(function () {
Nova::provideToScript([
// ...
'customLocaleDisplay' => [
'en' => <img src="https://raw.githubusercontent.com/outl1ne/nova-translatable/HEAD/flag-en.png"/>,
'et' => <img src="https://raw.githubusercontent.com/outl1ne/nova-translatable/HEAD/flag-et.png"/>,
]
]);
});
}
Edge cases
BelongsToMany allowDuplicateRelations corner-case
When using this field inside a BelongsToMany as a pivot field with ->allowDuplicateRelations() and you want to filter out exact matches using the NotExactlyAttached rule, use the BelongsToManyTranslatable field instead of the regular BelongsToMany.
Credits
License
This project is open-sourced software licensed under the MIT license.
Alternatives to outl1ne/nova-translatable
A fast, cache-aware Google Translate toolkit for Laravel: fluent translations, l...
Empowers typicms/bootforms with typicms/laravel-translatable.
Add translation to your Nova Resources. The translations will be stored in a tra...
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 3.1.0 | >=8.1 | MIT | |
| 3.0.4 | >=8.1 | MIT | |
| 3.0.3 | >=8.1 | MIT | |
| 3.0.2 | >=8.1 | MIT | |
| 3.0.1 | >=8.1 | MIT | |
| 3.0.0 | >=8.1 | MIT | |
| 2.3.2 | >=8.0 | MIT | |
| 2.3.1 | >=8.0 | MIT | |
| 2.3.0 | >=8.0 | MIT | |
| 2.2.0 | >=8.0 | MIT | |
| 2.1.6 | >=8.0 | MIT | |
| 2.1.5 | >=8.0 | MIT | |
| 2.1.4 | >=8.0 | MIT | |
| 2.1.3 | >=8.0 | MIT | |
| 2.1.2 | >=8.0 | MIT | |
| 2.1.1 | >=8.0 | MIT | |
| 2.1.0 | >=8.0 | MIT | |
| 2.0.6 | >=8.0 | MIT | |
| 2.0.5 | >=8.0 | MIT | |
| 2.0.4 | >=8.0 | MIT | |
| 2.0.3 | >=8.0 | MIT | |
| 2.0.2 | >=8.0 | MIT | |
| 2.0.1 | >=8.0 | MIT | |
| 2.0.0 | >=8.0 | MIT | |
| 1.12.0 | >=7.1.0 | MIT | |
| 1.11.1 | >=7.1.0 | MIT | |
| 1.11.0 | >=7.1.0 | MIT | |
| 1.10.1 | >=7.1.0 | MIT | |
| 1.10.0 | >=7.1.0 | MIT | |
| 1.9.1 | >=7.1.0 | MIT |
Showing the latest 30 of 70. See every release on Packagist