PHPackages                             eg-mohamed/laravel-filament-chained-translation-manager - 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. eg-mohamed/laravel-filament-chained-translation-manager

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

eg-mohamed/laravel-filament-chained-translation-manager
=======================================================

A translation manager tool for Laravel Filament, that makes use of the Laravel Chained Translator.

V4.0.1(7mo ago)070MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Sep 18Pushed 7mo agoCompare

[ Source](https://github.com/EG-Mohamed/laravel-filament-chained-translation-manager)[ Packagist](https://packagist.org/packages/eg-mohamed/laravel-filament-chained-translation-manager)[ Docs](https://github.com/statikbe/laravel-filament-chained-translation-manager)[ RSS](/packages/eg-mohamed-laravel-filament-chained-translation-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (14)Versions (3)Used By (0)

[![Laravel Filament Chained Translation Manager](art/banner.png)](art/banner.png)

Laravel Filament Chained Translation Manager
============================================

[](#laravel-filament-chained-translation-manager)

[![Packagist](https://camo.githubusercontent.com/923b6d80d4be95d9267032afbe3aac0c6b829178e9a81cfa65099cdab17bc128/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374)](https://camo.githubusercontent.com/923b6d80d4be95d9267032afbe3aac0c6b829178e9a81cfa65099cdab17bc128/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374)[![Code Style Passing](https://camo.githubusercontent.com/e373f66e18fd0020c08b0d98693ee02b89f11db01875a60623ce57f6580e86bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722f2e6769746875622f776f726b666c6f77732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d636f64652532307374796c65)](https://camo.githubusercontent.com/e373f66e18fd0020c08b0d98693ee02b89f11db01875a60623ce57f6580e86bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722f2e6769746875622f776f726b666c6f77732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6162656c3d636f64652532307374796c65)[![Downloads](https://camo.githubusercontent.com/5c5f1c8162ed7fc0fa5cc77e28d66dad68943949658499f46782b0a9fdbe2406/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/5c5f1c8162ed7fc0fa5cc77e28d66dad68943949658499f46782b0a9fdbe2406/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746174696b62652f6c61726176656c2d66696c616d656e742d636861696e65642d7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666f722d7468652d6261646765)

The Laravel Filament Chained Translation Manager allows you to easily edit the translations of your current Laravel environment. This translation manager uses the [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator), that enables you to override the default translations with translations for a specific environment, e.g. a content manager can independently edit and override the translation files on the production environment from the translations provided by the developers.

Typically, at some point during the development phase, a content manager wants to translate or finetune the translation strings added by developers. This often results in merge and versioning issues, when developers and content managers are working on the translation files at the same time.

The Chained Translator package allows translations created by developers to exist separately from translations edited by the content manager in separate lang directories. The library merges the translations of both language directories, where the translations of the content manager (the custom translations) override those of the developer (the default translations). Check the documentation of the [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator) for more info.

There is also a [Laravel Nova Chained Translation Manager](https://github.com/statikbe/laravel-nova-chained-translation-manager) of this package.

Features
--------

[](#features)

- Save translations of the current environment to separate translation files in a separate language directory to avoid version conflicts.
- Immediately save translations.
- Search for translations and translation keys.
- Filter translations for specific groups and languages.
- Only show keys with missing translations.
- Shows statistics of how many fields are completely translated.

This tool does not provide features to add new translation keys, because our target users are translators and content managers, and we want to avoid that they add unnecessary translation keys.

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

[](#installation)

> **Note**For **Filament 2.x** use **[v1.x](https://github.com/statikbe/laravel-filament-chained-translation-manager/releases)** version

1. You can install the package via Composer:

```
composer require eg-mohamed/laravel-filament-chained-translation-manager
```

2. Register the plugin for the Filament Panels you want:

```
public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            \Statikbe\FilamentTranslationManager\FilamentChainedTranslationManagerPlugin::make(),
        ]);
}
```

2. Using this package requires a Filament custom theme. If you do not have one already, you can follow the instructions [on the Filament documentation site](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) to create one. Creating a new theme simply publishes the styling for the default Filament panel, so this will not change anything if you are happy with how Filament is styled out of the box. After creating a custom theme, you will need to add the following path to the `content` array of the generated `tailwind.config.js` file for the Filament theme:

```
"./vendor/statikbe/laravel-filament-chained-translation-manager/**/*.blade.php",
```

3. Now run the following command to compile the plugin styles into Filament's stylesheet:

```
npm run build
```

4. Publish the `config` file then setup your configuration:

```
php artisan vendor:publish --tag="filament-translation-manager-config"
```

Configuration
-------------

[](#configuration)

You can configure the custom language directory name and extend or finetune the service provider of the [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator). Have a look at the configuration options of the [Laravel Chained Translator library](https://github.com/statikbe/laravel-chained-translator).

### Supported locales

[](#supported-locales)

There are two ways to change the supported locales.

#### Option 1

[](#option-1)

Set up the supported locales using the configuration. By default, it will fallback to the locale and fallback locale. However, you can customize the configuration to include additional locales as follows:

```
'locales' => [
    'en',
    'fr',
],
```

#### Option 2

[](#option-2)

If your application already has a config that declares your locales than you are able to set the supported locales in any service provider. Create a new one or use the `app/Providers/AppServiceProvider.php` and set the supported locales as an array in the boot function as follows:

```
use Statikbe\FilamentTranslationManager\FilamentTranslationManager;

public function boot()
{
    FilamentTranslationManager::setLocales(['en', 'nl']);
}
```

### Gate

[](#gate)

You can restrict access to the Translation Manager by configuring the Gate variable.

```
'gate' => 'view-filament-translation-manager',
```

### Ignoring groups

[](#ignoring-groups)

You can choose to exclude specific groups of translations from appearing in Filament. Create an array with the keys that you wish to ignore:

```
'ignore_groups' => [
    'auth',
],
```

### Navigation Icon

[](#navigation-icon)

You can customize the navigation icon by configuring the `navigation-icon` variable

```
'navigation_icon' => 'heroicon-o-language',

```

Or you can replace the icon with your own custom icon set, by registering a different icon for this icon: `filament-chained-translation-manager::nav-icon`.

Usage
-----

[](#usage)

The library creates a new directory for the new translations, see [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator). Check the configuration options of the [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator) package to change this.

Additionally, please note that the Translation Manager is automatically included in the Filament menu.

### Merging translations

[](#merging-translations)

You can combine the custom translations of the current environment with the default translation files, by running the command provided by the [Laravel Chained Translator](https://github.com/statikbe/laravel-chained-translator).

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

[](#screenshots)

[![Example of Laravel Filament Chained Translation Manager](art/example.png)](art/example.png)

Upgrading
---------

[](#upgrading)

Please see [UPGRADING](UPGRADING.md) for details.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Kobe Christiaensen](https://github.com/Kobo-one)
- [Sten Govaerts](https://github.com/sten)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance62

Regular maintenance activity

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

236d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23424932?v=4)[Mohamed Said](/maintainers/EG-Mohamed)[@EG-Mohamed](https://github.com/EG-Mohamed)

---

Top Contributors

[![sten](https://avatars.githubusercontent.com/u/180665?v=4)](https://github.com/sten "sten (94 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (22 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")[![jordinbrouwer](https://avatars.githubusercontent.com/u/18177037?v=4)](https://github.com/jordinbrouwer "jordinbrouwer (11 commits)")[![alexandersix](https://avatars.githubusercontent.com/u/11881203?v=4)](https://github.com/alexandersix "alexandersix (7 commits)")[![reubenloma](https://avatars.githubusercontent.com/u/141895583?v=4)](https://github.com/reubenloma "reubenloma (6 commits)")[![Kobo-one](https://avatars.githubusercontent.com/u/11278919?v=4)](https://github.com/Kobo-one "Kobo-one (6 commits)")[![cobraprojects](https://avatars.githubusercontent.com/u/42706279?v=4)](https://github.com/cobraprojects "cobraprojects (4 commits)")[![EG-Mohamed](https://avatars.githubusercontent.com/u/23424932?v=4)](https://github.com/EG-Mohamed "EG-Mohamed (3 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (2 commits)")[![buzkall](https://avatars.githubusercontent.com/u/5702?v=4)](https://github.com/buzkall "buzkall (2 commits)")[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (2 commits)")[![majdghithan](https://avatars.githubusercontent.com/u/54972678?v=4)](https://github.com/majdghithan "majdghithan (2 commits)")[![yob-yob](https://avatars.githubusercontent.com/u/25021150?v=4)](https://github.com/yob-yob "yob-yob (1 commits)")[![almontasser](https://avatars.githubusercontent.com/u/19656179?v=4)](https://github.com/almontasser "almontasser (1 commits)")[![pxlrbt](https://avatars.githubusercontent.com/u/22632550?v=4)](https://github.com/pxlrbt "pxlrbt (1 commits)")[![franz825](https://avatars.githubusercontent.com/u/15183211?v=4)](https://github.com/franz825 "franz825 (1 commits)")[![sarperkaya](https://avatars.githubusercontent.com/u/1291111?v=4)](https://github.com/sarperkaya "sarperkaya (1 commits)")[![Fot0n](https://avatars.githubusercontent.com/u/6566055?v=4)](https://github.com/Fot0n "Fot0n (1 commits)")[![JarkaP](https://avatars.githubusercontent.com/u/3973865?v=4)](https://github.com/JarkaP "JarkaP (1 commits)")

---

Tags

laravelstatikbelaravel-filament-chained-translation-manager

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/eg-mohamed-laravel-filament-chained-translation-manager/health.svg)

```
[![Health](https://phpackages.com/badges/eg-mohamed-laravel-filament-chained-translation-manager/health.svg)](https://phpackages.com/packages/eg-mohamed-laravel-filament-chained-translation-manager)
```

###  Alternatives

[statikbe/laravel-filament-chained-translation-manager

A translation manager tool for Laravel Filament, that makes use of the Laravel Chained Translator.

92108.7k](/packages/statikbe-laravel-filament-chained-translation-manager)[askdkc/breezejp

Laravel Starter Kit (Livewire+Breeze+Laravel UI+Jetstream)や標準のバリデーションメッセージを全て一瞬で日本語化し、言語切替機能も提供するパッケージです / This package provides all-in-one Japanese translation for Laravel StarterKit (Livewire StarterKit, Breeze, Laravel UI and Jetstream) packages and validation messages with language switching feature.

590244.8k1](/packages/askdkc-breezejp)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[outerweb/filament-translatable-fields

Filament integration for spatie/laravel-translatable

3582.9k8](/packages/outerweb-filament-translatable-fields)[elegantly/laravel-translator

All on one translations management for Laravel

6216.9k](/packages/elegantly-laravel-translator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
