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

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

sergiog95/laravel-translation-manager
=====================================

Enhanced Laravel Translation Manager

8.0(5y ago)0287MITJavaScriptPHP &gt;=7.2.5

Since Jul 19Pushed 5y agoCompare

[ Source](https://github.com/sergiog95/laravel-translation-manager)[ Packagist](https://packagist.org/packages/sergiog95/laravel-translation-manager)[ Docs](https://github.com/vsch/laravel-translation-manager)[ RSS](/packages/sergiog95-laravel-translation-manager/feed)WikiDiscussions master Synced 2d ago

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

Laravel Translation Manager
===========================

[](#laravel-translation-manager)

[![GitQ](https://camo.githubusercontent.com/f2c755c71de015e8c48ef4d63d017fa89cc812adc483866ef5522a7124eafce9/68747470733a2f2f676974712e636f6d2f62616467652e737667)](https://gitq.com/vsch/laravel-translation-manager)

This package is used to comfortably manage, view, edit and translate Laravel language files with translation assistance through the Yandex Translation API. It augments the Laravel Translator system with a ton of practical functionality. [Features](../../wiki/#features)

⚠️ Only **MySQL** and **PostgreSQL** Database connections are supported. Adding another database only requires additional repository interface implementations following the examples of [MysqlTranslatorRepository.php](https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/MysqlTranslatorRepository.php) or [PostgresTranslatorRepository.php](https://github.com/vsch/laravel-translation-manager/blob/master/src/Repositories/PostgresTranslatorRepository.php).

#### ⚠️ **Version 2.6.10 has a new migration**

[](#warning-version-2610-has-a-new-migration)

When upgrading from earlier versions run:

```
$ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceProvider" --tag=public --force
$ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceProvider" --tag=migrations
$ php artisan migrate
```

#### Supported Laravel Versions

[](#supported-laravel-versions)

> - For Laravel 6.0 require: `"vsch/laravel-translation-manager": "~6.0"`
> - For Laravel 5.6 require: `"vsch/laravel-translation-manager": "~2.6"`
> - For Laravel 5.5 require: `"vsch/laravel-translation-manager": "~2.5"`
> - For Laravel 5.4 require: `"vsch/laravel-translation-manager": "~2.4"`
> - For Laravel 5.3 require: `"vsch/laravel-translation-manager": "~2.3"`
>
>     [Upgrading from LTM 2.0 or 2.1 to 2.3](../../wiki/Upgrade-2.0-to-2.3)
> - For Laravel 5.2 require: `"vsch/laravel-translation-manager": "~2.1"`
>
> #### Laravel version 4.2 is no longer supported.
>
> [](#laravel-version-42-is-no-longer-supported)
>
> You can still get access to the last updated version. Use the `laravel4` branch, or require: `"vsch/laravel-translation-manager": "~1.0"`
>
> #### Initial Localizations Added
>
> [](#initial-localizations-added)
>
> ❗ If you have made correction to the auto-translated localization and would like to share them with others please do so. It will be greatly appreciated.

**Detailed information is now in the [wiki](../../wiki).**

[Installation](../../wiki/Installation)
[Configuration](../../wiki/Configuration)
[Version Notes](versioninfo.md)

#### 2.6.16 Adds React App UI as an alternative to WebUI

[](#2616-adds-react-app-ui-as-an-alternative-to-webui)

[![React_UI](../../wiki/images/React_UI.png)](../../wiki/images/React_UI.png)

### Version 2.6.10 released

[](#version-2610-released)

React UI added as an option to WebUI.

Code updated for Laravel 5.6 compatibility

Support for JSON translation files added. [Versioninfo.md](versioninfo.md#264)

### Version 2.5.6 released

[](#version-256-released)

Support for JSON translation files added. [Versioninfo.md](versioninfo.md#256)

Code updated for Laravel 5.5 compatibility

### Version 2.4.36 released

[](#version-2436-released)

Support for JSON translation files added. [Versioninfo.md](versioninfo.md#2436)

Important LTM Translator method changes to restore compatibility with Laravel 5.4 API. These changes affect the order of arguments to the LTM Translator implementation. If you were using these methods based on previous LTM implementation then you will need to make changes in your code:

From `transChoice($id, $number, array $parameters = array(), $domain = 'messages', $locale = null, $useDB = null)` to `transChoice($id, $number, array $parameters = array(), $locale = null, $domain = 'messages', $useDB = null)`

From `trans($id, array $parameters = array(), $domain = 'messages', $locale = null, $useDB = null)` to `trans($id, array $parameters = array(), $locale = null, $domain = 'messages', $useDB = null)`

From `get($key, array $replace = array(), $locale = null, $useDB = null)` to `get($key, array $replace = array(), $locale = null, $fallback = true, $useDB = null)`

### Version 2.4.0 released

[](#version-240-released)

Laravel 5.4 compatible release. No API changes only internal implementation changes.

### Version 2.3.3 released

[](#version-233-released)

Laravel 5.3 compatible release. For upgrade instructions see [Upgrading 2.0, 2.1 to 2.3](../../wiki/Upgrade-2.0-to-2.3)

Now using Laravel 5 authorization API to handle all LTM related authorizations.

Find Translations now update source references for translation keys and add new keys with cleanup of dynamic keys. Need to publish and run migrations for this update [Installation: Publishing And Running Migrations](../../wiki/Installation#publishing-and-running-migrations)

Now you can view source file and line number references for translations. See [Web Interface: Source References](../../wiki/Web-Interface#source-references)

[![Screen Shot Show Source Refs](https://raw.githubusercontent.com/wiki/vsch/laravel-translation-manager/images/ScreenShot_ShowSourceRefs.png)](https://raw.githubusercontent.com/wiki/vsch/laravel-translation-manager/images/ScreenShot_ShowSourceRefs.png)

**If you are upgrading from version 2.0.x of LTM** you need to:

1. Remove the dependency to `UserPrivilegeMapper` from your application: [Removing dependency on UserPrivilegeMapper from service providers array](../../wiki/Installation#removing-dependency-on-userprivilegemapper-from-service-providers-array) and [Removing dependency on UserPrivilegeMapper from facade alias array](../../wiki/Installation#removing-dependency-on-userprivilegemapper-from-facade-alias-array)
2. Define the abilities used by LTM: [Setting up user authorization](../../wiki/Installation#setting-up-user-authorization)

### Per Locale User Access Control

[](#per-locale-user-access-control)

Implementation changed from the last release since using a closure in config file is not supported by the framework. Now using abilities to do the same. See [Enabling per locale user access control](../../wiki/Configuration#enabling-per-locale-user-access-control)

By default this option is turned off and any user who does not have `ltm-admin-translations`ability can modify any locale. With `user_locales_enabled` option enabled you can control which locales a user is allowed to modify. Default for all users is all locales, unless you specifically change that through the web UI, see [User Admin](../../wiki/Web-Interface#user-admin) or by populating the `ltm_user_locales` table appropriately.

### Screen Shot

[](#screen-shot)

[![Translation Manager Screenshot](https://raw.githubusercontent.com/wiki/vsch/laravel-translation-manager/images/ScreenShot_main.png)](https://raw.githubusercontent.com/wiki/vsch/laravel-translation-manager/images/ScreenShot_main.png)

---

\* This package was originally based on Barry vd. Heuvel's excellent [barryvdh](https://github.com/barryvdh/laravel-translation-manager) package.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 78.9% 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 ~12 days

Recently: every ~167 days

Total

167

Last Release

1997d ago

Major Versions

1.0.31 → 2.0.312015-10-15

0.0.39 → 2.0.402016-04-13

2.3.14 → 6.0.02019-10-12

6.0.0 → 7.02020-07-07

7.0 → 8.02020-11-23

PHP version history (7 changes)0.1PHP &gt;=5.3.0

2.0.0PHP &gt;=5.4.0

2.0.27PHP &gt;=5.5.9

2.3.2PHP &gt;=5.6.4

2.6.10PHP &gt;=7.1.3

6.0.0PHP &gt;=7.2

7.0PHP &gt;=7.2.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44100887?v=4)[Sérgio Gonçalves](/maintainers/sergiog95)[@sergiog95](https://github.com/sergiog95)

---

Top Contributors

[![vsch](https://avatars.githubusercontent.com/u/10299086?v=4)](https://github.com/vsch "vsch (423 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (44 commits)")[![al0mie](https://avatars.githubusercontent.com/u/5223895?v=4)](https://github.com/al0mie "al0mie (40 commits)")[![cossou](https://avatars.githubusercontent.com/u/1337112?v=4)](https://github.com/cossou "cossou (7 commits)")[![aiankile](https://avatars.githubusercontent.com/u/6738283?v=4)](https://github.com/aiankile "aiankile (7 commits)")[![sergiog95](https://avatars.githubusercontent.com/u/44100887?v=4)](https://github.com/sergiog95 "sergiog95 (3 commits)")[![pille1842](https://avatars.githubusercontent.com/u/10601001?v=4)](https://github.com/pille1842 "pille1842 (1 commits)")[![sebsel](https://avatars.githubusercontent.com/u/16517999?v=4)](https://github.com/sebsel "sebsel (1 commits)")[![spiroski](https://avatars.githubusercontent.com/u/2043833?v=4)](https://github.com/spiroski "spiroski (1 commits)")[![thylo](https://avatars.githubusercontent.com/u/1242863?v=4)](https://github.com/thylo "thylo (1 commits)")[![tiwac100](https://avatars.githubusercontent.com/u/1247313?v=4)](https://github.com/tiwac100 "tiwac100 (1 commits)")[![vesper8](https://avatars.githubusercontent.com/u/816028?v=4)](https://github.com/vesper8 "vesper8 (1 commits)")[![yurtesen](https://avatars.githubusercontent.com/u/1926599?v=4)](https://github.com/yurtesen "yurtesen (1 commits)")[![AlexR1712](https://avatars.githubusercontent.com/u/8460736?v=4)](https://github.com/AlexR1712 "AlexR1712 (1 commits)")[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (1 commits)")[![killtw](https://avatars.githubusercontent.com/u/1076225?v=4)](https://github.com/killtw "killtw (1 commits)")[![laszlokis-lynx](https://avatars.githubusercontent.com/u/258006090?v=4)](https://github.com/laszlokis-lynx "laszlokis-lynx (1 commits)")[![pedrocpinto](https://avatars.githubusercontent.com/u/54863021?v=4)](https://github.com/pedrocpinto "pedrocpinto (1 commits)")

---

Tags

laraveltranslationstranslator

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-translation-manager

Manage Laravel Translations

1.7k3.6M17](/packages/barryvdh-laravel-translation-manager)[kkomelin/laravel-translatable-string-exporter

Translatable String Exporter for Laravel

3291.4M10](/packages/kkomelin-laravel-translatable-string-exporter)[vsch/laravel-translation-manager

Enhanced Laravel Translation Manager

184190.9k2](/packages/vsch-laravel-translation-manager)[highsolutions/laravel-translation-manager

Manage Laravel Translations

1518.8k](/packages/highsolutions-laravel-translation-manager)

PHPackages © 2026

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