PHPackages                             evo-mark/inertia-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. evo-mark/inertia-i18n

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

evo-mark/inertia-i18n
=====================

Internationalisation support for Inertia projects

v3.1.1(2mo ago)31.9k↓31%MITJavaScript

Since Jan 6Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/evo-mark/inertia-i18n)[ Packagist](https://packagist.org/packages/evo-mark/inertia-i18n)[ Docs](https://evomark.co.uk)[ RSS](/packages/evo-mark-inertia-i18n/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (5)Dependencies (5)Versions (9)Used By (0)

 [    ![evoMark company logo](https://camo.githubusercontent.com/0ee00c831e18d82e5d32990e52b0b08b13c97ff2374478eef348c17bd3485c3c/68747470733a2f2f65766f6d61726b2e636f2e756b2f77702d636f6e74656e742f75706c6f6164732f7374617469632f65766f6d61726b2d6c6f676f2d2d6c696768742e737667)  ](https://evomark.co.uk)

 [ ![Build status](https://camo.githubusercontent.com/5cc8cbd3a2603744a31cd87ad8dfc346bf14ed94b159a2f2db000ac74dc2d8b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65766f2d6d61726b2f696e65727469612d6931386e3f6c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465) ](https://packagist.org/packages/evo-mark/inertia-i18n) [ ![Total Downloads](https://camo.githubusercontent.com/6a3a3189284fee4e5310f7af766684b8fc6a673cb627b67a9ee139ddd6ad4477/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65766f2d6d61726b2f696e65727469612d6931386e) ](https://packagist.org/packages/evo-mark/inertia-i18n) [ ![License](https://camo.githubusercontent.com/0d655e8a4371dd1f8acacf37ad3f52f804e3bb48b54e8a9a31d85c8b1d72b944/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f65766f2d6d61726b2f696e65727469612d6931386e) ](https://packagist.org/packages/evo-mark/inertia-i18n)

Inertia I18n
============

[](#inertia-i18n)

Upgrading from V2
-----------------

[](#upgrading-from-v2)

Please see the CHANGELOG.md file for upgrade instructions

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

[](#installation)

```
composer require evo-mark/inertia-i18n
```

```
npm install ./vendor/evo-mark/inertia-i18n

pnpm add file:vendor/evo-mark/inertia-i18n
```

```
import InertiaI18n from "inertia-i18n/vite";

export default {
	plugins: [
		InertiaI18n({
			// langDirectory: resolve(process.cwd() + "/lang"),
			// outputDirectory: resolve(process.cwd() + "/lang/json"),
		}),
	],
};
```

```
import { inertiaI18nVue } from "inertia-i18n/vue";

createInertiaApp({
	withApp(app) {
		app.use(inertiaI18nVue);
	},
});
```

Config
------

[](#config)

You can publish the config, if necessary, with Artisan:

```
php artisan v:p --tag=inertia-i18n
```

Your `path` should match the `outputDirectory` in your Vite plugin config (default `/lang`)

Usage
-----

[](#usage)

After installation, you can use your frontend localisation package as usual:

```

	{{ $t('messages.hello_world') }}

```

OR

```

import { useI18n } from 'vue-i18n';

const { t } = useI18n();
const translated = computed(() => t('message.hello_world));

```

See the documentation for the respective frontend packages for more information:

Vue: [vue-i18n](https://vue-i18n.intlify.dev/)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance86

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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 ~120 days

Recently: every ~137 days

Total

8

Last Release

67d ago

Major Versions

v1.2.0 → v2.0.02026-01-31

v2.0.0 → v3.0.02026-03-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f42ee39ec10e8f4b3552a78ea78628acef13e9772bed852baa186e97bde7748?d=identicon)[evomark](/maintainers/evomark)

---

Top Contributors

[![craigrileyuk](https://avatars.githubusercontent.com/u/68274157?v=4)](https://github.com/craigrileyuk "craigrileyuk (10 commits)")[![thecoopertempleclause](https://avatars.githubusercontent.com/u/71491231?v=4)](https://github.com/thecoopertempleclause "thecoopertempleclause (6 commits)")

---

Tags

laravellocalizationinternationalizationi18nlanguagetranslationinertiavitelocalevueinternationalisationlocalisationvue3

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/evo-mark-inertia-i18n/health.svg)

```
[![Health](https://phpackages.com/badges/evo-mark-inertia-i18n/health.svg)](https://phpackages.com/packages/evo-mark-inertia-i18n)
```

###  Alternatives

[tractorcow/silverstripe-fluent

Simple localisation for Silverstripe

91437.9k29](/packages/tractorcow-silverstripe-fluent)[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

544664.5k4](/packages/codezero-laravel-localized-routes)[delight-im/i18n

Internationalization and localization for PHP

595.4k3](/packages/delight-im-i18n)[jrmajor/fluent

Fluent localization system for PHP

2818.2k7](/packages/jrmajor-fluent)[jrmajor/laravel-fluent

Fluent translations for Laravel

208.8k](/packages/jrmajor-laravel-fluent)[longman/laravel-multilang

Package to integrate multi language (multi locale) functionality in Laravel 5.x

5414.6k1](/packages/longman-laravel-multilang)

PHPackages © 2026

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