PHPackages                             boblarouche/traduction - 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. boblarouche/traduction

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

boblarouche/traduction
======================

Traduction

1.1.3(4y ago)023MITPHPPHP &gt;=7.3

Since Oct 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/boblarouche/traduction)[ Packagist](https://packagist.org/packages/boblarouche/traduction)[ Docs](https://github.com/boblarouche/traduction)[ RSS](/packages/boblarouche-traduction/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Laravel 8.0+ Translation Helper
===============================

[](#laravel-80-translation-helper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/257dbd6339617f4638a2808d8b32835a5807a76dad4a44c4003b866fb3992564/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626f626c61726f756368652f74726164756374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/boblarouche/traduction)[![Build Status](https://camo.githubusercontent.com/625b78d1573cb648634a291a2ab64e2cb80fe2cb657abe7c6bd00d41a98cf5d7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626f626c61726f756368652f74726164756374696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/boblarouche/traduction)[![Quality Score](https://camo.githubusercontent.com/9daa029b907db576fd9930ace1b07e6d41f44fe98788afa058932875e8f88cb2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626f626c61726f756368652f74726164756374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/boblarouche/traduction)[![Total Downloads](https://camo.githubusercontent.com/30f2fd92f738dd9f261080edb3509fc1b9998558ab7934a4c063334bbbc0e00b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626f626c61726f756368652f74726164756374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/boblarouche/traduction)

This package copies Laravel translation entries of default language located in `resources/lang/xx` to a new target language. By default, it adds missing target keys only, but it can also replace everything. Different outputs and a sort option are available.

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

[](#installation)

You can install the package via composer:

```
composer require boblarouche/traduction
```

This package uses your app's fallback\_locale configured at `config/app.php` as the default language.

Usage
-----

[](#usage)

```
php artisan translation:missing
```

Here are different examples with optional parameters:

```
php artisan translation:missing --target=fr --output=key
php artisan translation:missing --target=es --output=value --replace
php artisan translation:missing --target=it --output=value --replace --sort
```

Options
-------

[](#options)

If no options are specify, the artisan command will prompt the user in terminal. Add *target* and *output* options to skip all prompts.

- **Target language** `--target=fr` \[no default\]
- **Output type**: `--output=value` will copy default language text for each new entry of target language and `--output=key` will use the keys as text. \[*value* is default\]
- **Replace all** `--replace` will overwrite any existing translation in target language. *Beware: This is Destructive!* \[*false* is default\]
- **Sorting** `--sort` will put all target keys in aphabetical order \[*false* is default\]

Changelog
---------

[](#changelog)

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

Future updates/TODO:
--------------------

[](#future-updatestodo)

- Add auto-translation from external service output e.g. --output=google-translate.

Credits
-------

[](#credits)

- [Bob Larouche](https://github.com/boblarouche)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

4

Last Release

1699d ago

PHP version history (2 changes)1.1.0PHP ^7.3

1.1.3PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58826686?v=4)[boblarouche](/maintainers/boblarouche)[@boblarouche](https://github.com/boblarouche)

---

Tags

traductionboblarouche

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/boblarouche-traduction/health.svg)

```
[![Health](https://phpackages.com/badges/boblarouche-traduction/health.svg)](https://phpackages.com/packages/boblarouche-traduction)
```

###  Alternatives

[mcamara/laravel-localization

Easy localization for Laravel

3.5k9.1M112](/packages/mcamara-laravel-localization)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.3k](/packages/typicms-base)[vemcogroup/laravel-translation

Translation package for Laravel to scan for localisations and up/download to poeditor

135304.0k2](/packages/vemcogroup-laravel-translation)

PHPackages © 2026

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