PHPackages                             ncoo-dev/filament-plugin-translatable-inline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ncoo-dev/filament-plugin-translatable-inline

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ncoo-dev/filament-plugin-translatable-inline
============================================

An inline translation plugin for Filament 5.

5.0.0(1mo ago)00MITPHPPHP ^8.2

Since May 9Pushed 1mo agoCompare

[ Source](https://github.com/ncoo-dev/filament-plugin-translatable-inline)[ Packagist](https://packagist.org/packages/ncoo-dev/filament-plugin-translatable-inline)[ Docs](https://github.com/ncoo-dev/filament-plugin-translatable-inline)[ RSS](/packages/ncoo-dev-filament-plugin-translatable-inline/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Filament Plugin - Translatable Inline
=====================================

[](#filament-plugin---translatable-inline)

[![Latest Version](https://camo.githubusercontent.com/a507b359f2af4db19d59c268feaf3c333cb4a75deef714402bc8eeea21eafa58/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70617266616974656d656e747765622f66696c616d656e742d706c7567696e2d7472616e736c617461626c652d696e6c696e652e7376673f7374796c653d666c61742d737175617265)](https://github.com/parfaitementweb/filament-plugin-translatable-inline/releases)[![Total Downloads](https://camo.githubusercontent.com/61a5bba09d8590229b64255e96f42f3182a9169d3ad221117a9b8fd998a1b500/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617266616974656d656e747765622f66696c616d656e742d706c7567696e2d7472616e736c617461626c652d696e6c696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parfaitementweb/filament-plugin-translatable-inline)

This is an addon to [Filament Larazeus Translatable](https://github.com/lara-zeus/spatie-translatable) that allows you to edit your translation directly below the field.

This approach offers several advantages:

- Faster editing of your translations
- Detecting fields that can be translated is much easier to see
- You can quickly see which translations are missing

Screenshots
-----------

[](#screenshots)

[![Screenshot](https://raw.githubusercontent.com/Parfaitementweb/filament-plugin-translatable-inline/main/docs/images/screenshot.png)](https://raw.githubusercontent.com/Parfaitementweb/filament-plugin-translatable-inline/main/docs/images/screenshot.png)

Requirements
------------

[](#requirements)

You need the latest version of:

- Filament v4.
- [Filament Translatable Plugin](https://github.com/lara-zeus/spatie-translatable)

Installation
------------

[](#installation)

Install the package via composer:

```
composer require parfaitementweb/filament-plugin-translatable-inline:"^4.0"
```

Also install the [Filament Translatable Plugin](https://github.com/lara-zeus/spatie-translatable), if not already:

```
composer require lara-zeus/spatie-translatable
```

### Configuration

[](#configuration)

It is important that you don't add the Filament traits and the header action to your form resource pages, or it won't work! Only the trait "Translatable" in your resource is required!

Instead of having the locale switcher, wrap your fields in add a TranslatableContainer.

```
