PHPackages                             mvenghaus/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. [Localization &amp; i18n](/categories/localization)
4. /
5. mvenghaus/filament-plugin-translatable-inline

ActiveLibrary[Localization &amp; i18n](/categories/localization)

mvenghaus/filament-plugin-translatable-inline
=============================================

An alternative to https://github.com/filamentphp/spatie-laravel-translatable-plugin. The difference is that all translations occur directly under each field.

3.0.8(2y ago)2251.8k↓57.7%7[8 issues](https://github.com/mvenghaus/filament-plugin-translatable-inline/issues)MITPHPPHP ^8.2

Since Jan 8Pushed 2y ago2 watchersCompare

[ Source](https://github.com/mvenghaus/filament-plugin-translatable-inline)[ Packagist](https://packagist.org/packages/mvenghaus/filament-plugin-translatable-inline)[ Docs](https://github.com/mvenghaus/filament-plugin-translatable-inline)[ RSS](/packages/mvenghaus-filament-plugin-translatable-inline/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

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

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

This is an addon to [Spatie Translatable](https://filamentphp.com/plugins/filament-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/mvenghaus/filament-plugin-translatable-inline/main/docs/images/screenshot.png)](https://raw.githubusercontent.com/mvenghaus/filament-plugin-translatable-inline/main/docs/images/screenshot.png)

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

[](#requirements)

You need the latest version of Filament v3.

This package is based on:

- [Spatie Laravel Translatable](https://github.com/spatie/laravel-translatable)
- [Filament Spatie Translatable Plugin](https://github.com/filamentphp/spatie-laravel-translatable-plugin)

You don't need to install them separately, it's handled via dependencies.

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

[](#installation)

Install the package via composer:

```
composer require mvenghaus/filament-plugin-translatable-inline:"^3.0"
```

### Configuration

[](#configuration)

Since it is based on the Spatie plugin, it must be registered as described in the [documentation](https://github.com/filamentphp/spatie-laravel-translatable-plugin).

> ***NOTE:*** It is important that you don't add the 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 a locale switcher in a dropdown above, you add a container for each translatable field.

**Before**

```
