PHPackages                             zdearo/laravel-auto-translate - 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. zdearo/laravel-auto-translate

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

zdearo/laravel-auto-translate
=============================

A Laravel package for auto translate strings.

v1.0.1(11mo ago)03[4 PRs](https://github.com/zdearo/laravel-auto-translate/pulls)MITPHPPHP ^8.1CI passing

Since Mar 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/zdearo/laravel-auto-translate)[ Packagist](https://packagist.org/packages/zdearo/laravel-auto-translate)[ Docs](https://github.com/zdearo/laravel-auto-translate)[ GitHub Sponsors]()[ RSS](/packages/zdearo-laravel-auto-translate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (7)Used By (0)

Laravel Auto Translate
======================

[](#laravel-auto-translate)

A Laravel package for extracting and managing translation strings in your Laravel applications. This package helps you identify untranslated strings in your codebase and manage translations for multiple languages.

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

[](#installation)

You can install the package via composer in your Laravel project:

```
composer require zdearo/laravel-auto-translate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-auto-translate-config"
```

Usage
-----

[](#usage)

### Extract Translations

[](#extract-translations)

This command scans your Laravel application for translation strings and extracts them to a JSON file:

```
php artisan translations:extract {locale}
```

Replace `{locale}` with your desired language code (e.g., `en`, `pt_BR`, `es_ES`).

The command will:

1. Scan your application for translation strings
2. Create a `new_strings_{locale}.json` file with the found strings
3. Optionally merge the new strings into your existing translation file

### Merge Translations

[](#merge-translations)

This command merges translated strings from `new_strings_{locale}.json` to your main translation file:

```
php artisan translations:merge {locale}
```

The command offers three merge options:

1. Only merge strings that have translations
2. Merge all strings (including empty translations)
3. Interactive mode: review each untranslated string

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Credits
-------

[](#credits)

- [Adryel Dearo](https://github.com/zdearo)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance73

Regular maintenance activity

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68% 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 ~56 days

Total

2

Last Release

354d ago

Major Versions

v0.0.1 → v1.0.12025-05-24

PHP version history (2 changes)v0.0.1PHP ^8.4

v1.0.1PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![zdearo](https://avatars.githubusercontent.com/u/110416695?v=4)](https://github.com/zdearo "zdearo (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravellaravel-auto-translatelaravel-packagetranslatorlaravellaravel-auto-translateAdryel Dearo

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/zdearo-laravel-auto-translate/health.svg)

```
[![Health](https://phpackages.com/badges/zdearo-laravel-auto-translate/health.svg)](https://phpackages.com/packages/zdearo-laravel-auto-translate)
```

###  Alternatives

[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)[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)[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)[cosnavel/laravel-query-localization

Query String Localization Package for Laravel

508.2k](/packages/cosnavel-laravel-query-localization)

PHPackages © 2026

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