PHPackages                             dlogon/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. dlogon/translation-manager

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

dlogon/translation-manager
==========================

This is my package translation-manager

0.1.1(2y ago)016[1 PRs](https://github.com/Dlogon/translation-manager/pulls)MITPHPPHP ^8.1

Since Oct 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Dlogon/translation-manager)[ Packagist](https://packagist.org/packages/dlogon/translation-manager)[ Docs](https://github.com/dlogon/translation-manager)[ RSS](/packages/dlogon-translation-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (4)Used By (0)

laravel Translation manager
===========================

[](#laravel-translation-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b5af740fe97e7f27679175c2249d3436f34c11ce21ee2ed989ad86e6c09f5d7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646c6f676f6e2f7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dlogon/translation-manager)[![GitHub Tests Action Status](https://camo.githubusercontent.com/314f84a1053e674a7efd86fa32d98ec8a3e86d2635c8524420d65a4241492023/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f646c6f676f6e2f7472616e736c6174696f6e2d6d616e616765722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/dlogon/translation-manager/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/23932ffcf848398607cca012dabbc5dd19bdc0fbf9ede1cf82fa176d5c4c9476/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f646c6f676f6e2f7472616e736c6174696f6e2d6d616e616765722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/dlogon/translation-manager/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/bbece976c653bc33800d76623a2ec107616dee3fe5a23ccdf7dcf1adec728539/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646c6f676f6e2f7472616e736c6174696f6e2d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dlogon/translation-manager)

Manage your translations in your laravel proyect with a web interface.

This package has been inspired by [barryvdh/laravel-translation-manager](https://github.com/barryvdh/laravel-translation-manager)

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

[](#installation)

You can install the package via composer:

```
composer require dlogon/translation-manager
```

You can run the migrations and optional publish the migrations with:

```
php artisan vendor:publish --provider="Dlogon\TranslationManager\TranslationManagerServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Dlogon\TranslationManager\TranslationManagerServiceProvider" --tag="config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --provider="Dlogon\TranslationManager\TranslationManagerServiceProvider" --tag="views"
```

Usage
-----

[](#usage)

To access the web manager, access to the url "yourproject"/translations, if you want to change the route prefix of the manager, publish the config file (translation-manager.php) and change "prefix" inside the "route" array, therefore, if you are not using auth, comment the "auth" middleware inside the route array

```
 'route' => [
        'prefix' => 'translations',
        'middleware' => [
	        'web',
	        'auth',
		],
    ],
```

This is that you will see when enter to the manager

[![](https://user-images.githubusercontent.com/26014056/197062911-c0bc31a0-6406-4807-ba81-997585395e4d.png)](https://user-images.githubusercontent.com/26014056/197062911-c0bc31a0-6406-4807-ba81-997585395e4d.png)

When you add a new Lang, you'll see the lang in the bellow section (ADD NEW KEY) and in the table on the bottom

[![](https://user-images.githubusercontent.com/26014056/197084487-d01f2616-478c-4f1e-b58b-cdaed67faba4.png)](https://user-images.githubusercontent.com/26014056/197084487-d01f2616-478c-4f1e-b58b-cdaed67faba4.png)

Then, you should add a group in the Groups tab, groups are intended to create diferent files if you work with the "php array" aproach, or for "enhance" the visual presentation if you use the "json" aproach.

Now, you can add a key, with a value for every lang that you have been created. when you press add, you will see the added key in the bottom table, if you do not see the key, ensure that you select the group where you store the key in the above dropdown.

if you want to change any translation, just click the translation and you will see an input to put the new translation, if you click the Ok button, you will see a notifications saying that the translation updated successfully

[![](https://user-images.githubusercontent.com/26014056/197087089-b086ecc1-708a-4154-a8fa-b4fb8c20067d.png)](https://user-images.githubusercontent.com/26014056/197087089-b086ecc1-708a-4154-a8fa-b4fb8c20067d.png)

### Model translations

[](#model-translations)

Maybe you noticed the Model translations tab, here, you can generate a group for every model in your app, and this will generate a key for every column in you model.

For example, if we have a Post model, and we already run the migration with some columns.

[![](https://user-images.githubusercontent.com/26014056/197088317-f1efde53-003e-4f2d-95d6-eca73f1b2f61.png)](https://user-images.githubusercontent.com/26014056/197088317-f1efde53-003e-4f2d-95d6-eca73f1b2f61.png)

If you want to avoid some columns, you can add it into the config file, there are a default ignored columns of the User model, and there are a default columns ignored from all models

```
'ignore_columns' => [
        "id",
        "created_at",
        "updated_at",
        "deleted_at"
    ],
'ignore_model_columns' => [
        "users" => [
            "email_verified_at",
            "remember_token"
        ]
    ],
```

### Generating the translation files

[](#generating-the-translation-files)

Once you are ready and you have created your translations, is time to create the translations files, above all you will see the big orange button Generate translations, below you will see a radio where you can select the aproach.

If you select the php aproach, your translation files will have the structure

```
rootapp///
                                group1.php
                                group2.php
rootapp///
                                group1.php
                                group2.php

```

If you select the JSON aproach, you will see a property in your generated json, this property has the structure

```
"//GROUP" = "///////////////GROUP-/////////////////////"

```

for example:

en.json

```
{
    "\/\/GROUPapp": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-app\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "Welcome": "Welcome",
    "\/\/GROUPlanding": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-landing\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "\/\/GROUPPost": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-Post\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "autor_name": "Autor Name",
    "title": "Title",
    "\/\/GROUPUser": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-User\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "email": "",
    "name": "",
}
```

es.json

```
{
    "\/\/GROUPapp": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-app\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "Welcome": "Bienvenido",
    "\/\/GROUPlanding": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-landing\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "\/\/GROUPPost": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-Post\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "autor_name": "Nombre del autor",
    "title": "Titulo",
    "\/\/GROUPUser": "\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/GROUP-User\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/",
    "name": " ",
    "email": " "
}
```

Changelog
---------

[](#changelog)

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

Credits
-------

[](#credits)

- [Diego](https://github.com/Dlogon)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

TODO
----

[](#todo)

```
- Read and store lang files in database
- Filter keys
- Read lang and add to database on install package

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~267 days

Total

2

Last Release

1035d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbabf513fe11ca7f29c1ab555af3d1f978c9d1996357edc5b4ccdbc0ce195959?d=identicon)[dlogon](/maintainers/dlogon)

---

Top Contributors

[![Dlogon](https://avatars.githubusercontent.com/u/26014056?v=4)](https://github.com/Dlogon "Dlogon (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laraveltranslation-managerDlogon

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dlogon-translation-manager/health.svg)

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

###  Alternatives

[outhebox/laravel-translations

Manage your Laravel translations with a beautiful UI. Add, edit, delete, import, and export translations with ease.

80687.6k](/packages/outhebox-laravel-translations)[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)[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)[elegantly/laravel-translator

All on one translations management for Laravel

6216.9k](/packages/elegantly-laravel-translator)[smousss/laravel-globalize

Make Laravel projects translatable in a matter of seconds!

2266.3k](/packages/smousss-laravel-globalize)[igaster/laravel-translate-eloquent

Description

403.4k](/packages/igaster-laravel-translate-eloquent)

PHPackages © 2026

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