PHPackages                             webnuvola/laravel-i18n - 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. webnuvola/laravel-i18n

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

webnuvola/laravel-i18n
======================

Laravel internationalization package

v2.2.0(2y ago)27.2k↓50%MITPHPPHP ^8.1

Since Jan 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Webnuvola/laravel-i18n)[ Packagist](https://packagist.org/packages/webnuvola/laravel-i18n)[ RSS](/packages/webnuvola-laravel-i18n/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (24)Used By (0)

Laravel Internationalization
============================

[](#laravel-internationalization)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8a081c1130e5ecabc1a47a5667d5c64643b4e633ca06b055e352af0c6b5830cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765626e75766f6c612f6c61726176656c2d6931386e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webnuvola/laravel-i18n)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ebe80c834d24fabd0de366e98965625a5dcefb19e1a6ab970caa28cc733fa6ad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7765626e75766f6c612f6c61726176656c2d6931386e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e)](https://github.com/webnuvola/laravel-i18n/actions/workflows/run-tests.yml?query=branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/19cb6edce6f27099ad64df280dadb09808700aebfa3ffdc4566d1733c1481a7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765626e75766f6c612f6c61726176656c2d6931386e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webnuvola/laravel-i18n)

This package allows you to register i18n routes for your Laravel app.

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

[](#installation)

Install via composer:

```
composer require webnuvola/laravel-i18n
```

After the installation, you must publish the config file and set it up to your needs.

```
php artisan vendor:publish --provider="Webnuvola\Laravel\I18n\I18nServiceProvider" --tag="config"
```

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

[](#configuration)

After publishing, the configuration will be located in `config/i18n.php`.

You must configure at least one region to use this package.

Example configuration:

```
