Package

Coderello Laravel Nova Lang

Language support for Laravel Nova.

Package

coderello/laravel-nova-lang

View on GitHub →

Laravel Nova Lang

Language files for Laravel Nova translated into 40+ languages.

This is not an official Laravel package, but is built from community contributions. If you are able to help by submitting a new language, reviewing an existing language, or adding missing keys, please read our contributing guidelines and raise a PR.


Installation

composer require coderello/laravel-nova-lang

Usage

Publish Command

Publish translations for one language:
php artisan nova-lang:publish de
Publish translations for multiple languages (comma-separated):
php artisan nova-lang:publish de,ru
Publish translations for all available languages:
php artisan nova-lang:publish --all
Publish translations and override existing files:
php artisan nova-lang:publish de,ru --force
Aliases

The language codes chosen for the files in this repository may not match the preferences for your project. You can use the ‑‑alias option to publish locales using a different filename.

Publish translations for one language with an alias, using the simple format {alias}:
php artisan nova-lang:publish de --alias=de-DE

This will publish the file de-DE.json.

Publish translations for multiple languages with multiple aliases, using the format {locale}:{alias} (comma-separated):
php artisan nova-lang:publish de,ru,fr --alias=de:de-DE,ru:ru-RU

This will publish the files de-DE.json, ru-RU.json and fr.json (no alias).

Aliases can also be used with the --all flag:
php artisan nova-lang:publish --all --alias=es:es-ES

You do not need to supply an alias for every locale that is to be published, only those that you wish to override.

Here are some example aliases for common use cases:

  • Use Chinese with scripts instead of regions: zh-CN:zh-Hans,zh-TW:zh-Hant
  • Default to Brazilian Portuguese over European: pt:pt-PT,pt-BR:pt
  • Default to Serbian in Latin script over Cyrillic: sr-Latn:sr,sr:sr-Cyrl

There is also an --underscore or -U switch to publish locales with an underscore separator instead of a hyphen. This can be used in combination with aliases.

Development Commands

Documentation of development commands for contributors and maintainers is available at Development Commands.

Available Languages

We welcome new languages and additions/improvements to existing languages! Please read our contributing guidelines and raise a PR.

Note: There is no need to update the count of translated strings and add your username below, as this is done by script when your PR is merged.

Latest Nova version
Total languages
Total lines translated

Code Language Translated files Lines translated Thanks to
en English php json taylorotwell, bonzai, davidhemphill, jbrooksuk, themsaid, kitbs, dillingham
fr French php json MarceauKa, shaffe-fr, Yannik-Slym, InfinityWebMe, kitbs, Arryan, voidgraphics, KillianH, rbnhtl, stockhausen
de German php json pille1842, kitbs, shieraki, StanBarrows, tobiasthaden, dakira
lv Latvian php json
es Spanish php json kitbs, joebordes, ajmariduena, iksaku, IGedeon, SpiritSaint, alejandrotrevi, Arryan, kennyhorna, miktown, xcodinas, AndresReyesDev, Vitorinox, dgtal, rodrigore
zh‑CN Chinese (Simplified) php json jcc, zacksleo, masterwto
zh‑TW Chinese (Traditional) php json CasperLaiTW, zacksleo, storyn26383
ru Russian php json hivokas, sanasol, makhsam, den1n, medvinator, deadem, soulshockers, kongulov, saundefined, ankkk, estim
uz‑Latn Uzbek (Latin) php json shokhaa, professor93
az Azerbaijani php json kongulov
nl Dutch php json DannyvdSluijs, happyDemon, steefmin, jschram, sebastiaanspeck, preliot, webovatenl, daniel-de-wit
pt‑BR Brazilian Portuguese php json henryavila, pedrofurtado, eduardokum, saulo-silva, chbbc, ranierif, hpiaia, IgorDePaula, emtudo
id Indonesian php json dvlwj, opanegro, Kristories, ezhasyafaat
tr Turkish php json jnbn, bureken, Milkhan, erayusta, sineld, semihkeskindev, dilekuzulmez, suleymanozev
tk Turkmen php json kakajansh
ka Georgian php json akalongman, zgabievi
ro Romanian php json BTeodorWork, dtix, alexgiuvara
ar Arabic php json saleem-hadad, danyelkeddah, omarfathy13, MohamedMaher5, CaddyDz, i3asm, moedayraki, Arryan
it Italian php json (unknown), alfonsocuccaro, f-liva, manuelcoppotelli, trippo, dejdav
km Khmer php json chhaihongsrun
ur Urdu php json junaidtariq48
hu Hungarian php json milli05, bgeree, lintaba
cs Czech php json walaskir, theimerj, genesiscz, walaski
ca Catalan php json joebordes, gerardnll
af Afrikaans php json medlion
bs Bosnian php json hajro92
ja Japanese php json Tsumagari, storyn26383
nb Norwegian Bokmål php json einar-johan
sv Swedish php json tanjemark, slackernrrd
uk Ukrainian php json soulshockers, Ostap34JS, osbre
fa Farsi php json alirezamirsepassi, mziraki, zareismail, SadeghPM
pl Polish php json pzmarzly, Strus, marekfilip, mslepko, wiktor-k
pt Portuguese php json Pedrocssg
da Danish php json olivernybroe, rugaard, peterchrjoergensen
eu Basque php json JonPaternain
hr Croatian php json defart, walaski
fil Filipino php json granaderos
fi Finnish php json Krisseck
hi Hindi php json bantya
sr Serbian (Cyrillic) php json marjanovicsteva
sr‑Latn Serbian (Latin) php json marjanovicsteva
sk Slovak php json hejty
sl Slovenian php json morpheus7CS
lt Lithuanian php json minved
bg Bulgarian php json BKirev
tl Tagalog php json rcjavier

Coderello Laravel Nova Lang Related Articles

The Practical Guide to Laravel + Nova on OpenAI Codex Web image

The Practical Guide to Laravel + Nova on OpenAI Codex Web

Read article
Take the Annual State of Laravel 2024 Survey image

Take the Annual State of Laravel 2024 Survey

Read article
Nova Log Viewer Package image

Nova Log Viewer Package

Read article
2019 in Review image

2019 in Review

Read article
Laracon Online is next week image

Laracon Online is next week

Read article
Laracon Online Summer 2021 image

Laracon Online Summer 2021

Read article
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Pushsilver logo

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift