PHPackages                             stepovenko/laravel-nova-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. stepovenko/laravel-nova-chained-translation-manager

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

stepovenko/laravel-nova-chained-translation-manager
===================================================

The Laravel Nova Chained Translation Manager allows you to easily edit and customise the translations of your current Laravel environment.

1.4.2(4y ago)019MITVuePHP &gt;=7.1.0

Since Dec 18Pushed 4y agoCompare

[ Source](https://github.com/stepovenko/laravel-nova-chained-translation-manager)[ Packagist](https://packagist.org/packages/stepovenko/laravel-nova-chained-translation-manager)[ RSS](/packages/stepovenko-laravel-nova-chained-translation-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (12)Used By (0)

Laravel Nova Chained Translation Manager
========================================

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

The Laravel Nova Chained Translation Manager allows you to easily edit the translations of your current Laravel environment. This translation manager uses the 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.

Features
--------

[](#features)

- Save translations of the current environment to separate translation files in a separte 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

Currently, 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)

The package can be installed through Composer.

```
composer require statikbe/laravel-nova-chained-translation-manager

```

Next enable the tool in Nova. Go to `app/Providers/NovaServiceProvider.php` and add the TranslationManager to the tools.

```
use Statikbe\NovaTranslationManager\TranslationManager;

    public function tools()
    {
        return [
            new TranslationManager,
        ];
    }
```

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

[](#configuration)

You can configure the custom language directory name and extend or finetune the service provider of the 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)

Publish the config file with the command below and configure it with your supported locales and editor preferences.

```
php artisan vendor:publish --tag=nova-chained-translation-manager
```

E.g.

```
    /*
    |--------------------------------------------------------------------------
    | Application Supported Locale Configuration
    |--------------------------------------------------------------------------
    |
    | The application locale determines the possible locales that can be used.
    | You are free to fill this array with any of the locales which will be
    | supported by the application.
    |
    */

    'supported_locales' => [
        'en',
        'nl'
    ],
```

#### 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\NovaTranslationManager\TranslationManager;

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

### Changing your Editor

[](#changing-your-editor)

Its possible also to change your editor, sometimes the translations values can get big and its good if you have a larger area to edit them or even add some bold/underline effects on the fly. You can use 3 supported values: input,textarea,trix. Their names are self-explanatory. Please keep in mind while using Trix you should also configure your allowed HTML tags. Dont forget to clear the cache after changing these settings and refresh your page to see the results :)

E.g.

```
    /*
    |--------------------------------------------------------------------------
    | Editor to use
    |--------------------------------------------------------------------------
    |
    | Choose what type of editor you want to use while editing your translations
    | input - For really dead simple input
    | textarea - For a larger textarea to deal with
    | trix - Will use Trix Editor for editing locales supporting some HTML on it.
    |
    | Note : Please keep in mind while using Trix to configure your allowed HTML
    | tags. Otherwise it may pose XSS attacks risk if field could be edited by the end user.
    |
    | Values : trix, input, textarea
    |
    */

    'editor' => 'input',
    'trix_allowed_tags' => '',
```

### Ignoring Groups

[](#ignoring-groups)

You may also ignore certain groups of translations to be shown in the Nova UI. Create an array with keys that you want to ignore:

E.g.

```
    /*
    |--------------------------------------------------------------------------
    | Ignore Groups
    |--------------------------------------------------------------------------
    | This will ignore certain groups from the translations UI
    | Supports an array of keys
    |
    */

    'ignore_groups' => ['auth','pagination','passwords','routes','nova','nova/validation'],
```

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 library](https://github.com/statikbe/laravel-chained-translator) package.

Credits
-------

[](#credits)

We used [Joe Dixon's](https://github.com/joedixon) translation libraries as a source of technical expertise and inspiration:

- [Laravel Translation](https://github.com/joedixon/laravel-translation)
- [Nova Translation](https://github.com/joedixon/nova-translation)

Thanks a lot for the great work!

License
-------

[](#license)

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

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

[](#screenshots)

[![Overview](docs/chained-translation-manager.gif "Overview of the Chained Translation Manager")](docs/chained-translation-manager.gif)

[![Select different languages](docs/chained-translation-manager-select-lang.png "Only show selected languages")](docs/chained-translation-manager-select-lang.png)

[![Select different groups](docs/chained-translation-manager-select-group.png "Only show selected groups")](docs/chained-translation-manager-select-group.png)

[![Only show missing translations](docs/chained-translation-manager-select-group.png "Only show the translations that are missing")](docs/chained-translation-manager-select-group.png)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~25 days

Recently: every ~36 days

Total

9

Last Release

1766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/413b77df97d5fabf7abb91a5f5d823ebb90b53fca707a194917f4a045ba630f3?d=identicon)[Stepovenko](/maintainers/Stepovenko)

---

Top Contributors

[![nikuscs](https://avatars.githubusercontent.com/u/12662462?v=4)](https://github.com/nikuscs "nikuscs (25 commits)")[![sten](https://avatars.githubusercontent.com/u/180665?v=4)](https://github.com/sten "sten (24 commits)")[![johanmaes](https://avatars.githubusercontent.com/u/6313788?v=4)](https://github.com/johanmaes "johanmaes (16 commits)")[![stepovenko](https://avatars.githubusercontent.com/u/33463554?v=4)](https://github.com/stepovenko "stepovenko (1 commits)")

---

Tags

laravelinternationalizationi18ntranslationnovachained translator

### Embed Badge

![Health badge](/badges/stepovenko-laravel-nova-chained-translation-manager/health.svg)

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

###  Alternatives

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

The Laravel Nova Chained Translation Manager allows you to easily edit and customise the translations of your current Laravel environment.

1628.6k](/packages/statikbe-laravel-nova-chained-translation-manager)[badinansoft/nova-language-switch

A Laravel Nova package to switch language in your application

26506.4k1](/packages/badinansoft-nova-language-switch)[outl1ne/nova-translatable

A laravel-translatable extension for Laravel Nova.

203416.9k8](/packages/outl1ne-nova-translatable)[smousss/laravel-globalize

Make Laravel projects translatable in a matter of seconds!

2266.3k](/packages/smousss-laravel-globalize)[jrmajor/fluent

Fluent localization system for PHP

2716.9k5](/packages/jrmajor-fluent)

PHPackages © 2026

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