Skip to content

🌌 Language files for Laravel Nova translated into 35+ languages. Feel free to submit your language or update an existing one!

License

Notifications You must be signed in to change notification settings

bgeree/laravel-nova-lang

 
 

Repository files navigation

Laraflash

Language files for Laravel Nova translated into 35+ 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:

php artisan nova-lang:publish de,ru

Publish translations for all languages:

php artisan nova-lang:publish --all

Publish translations and override existing files:

php artisan nova-lang:publish de,ru --force

Development Commands (debug mode only)

You must have the app.debug config option set to true for these commands to be available:

Missing Command

This command is to assist contributors to find any untranslated keys for their chosen language.

A stub JSON file will be created at storage_path('app/nova-lang/missing/{locale}.json'). You can copy those keys into the resources/lang/{locale}.json language file in your own fork of the repository, translate them and create a pull request.

Output missing translation keys for one or more languages:

php artisan nova-lang:missing de,ru

Output missing translation keys for all languages:

php artisan nova-lang:missing --all

Stats Command

This command is to assist maintainers to update the completeness of each language and list of contributors in this README file.

A README.excerpt.md and contributors.json file will be created at storage_path('app/nova-lang'). You can copy those files into your own fork of the repository and create a pull request.

Output list of languages, lines translated and contributors:

php artisan nova-lang:stats

Ensure you have created a GitHub personal access token and saved it as a GITHUB_TOKEN_NOVALANG env variable in your master Laravel application in order to download the most recent contributions.

Available Languages

Total languages 37
Total lines translated 14652 (91.4%)

Code Language Translated files Lines translated Thanks to
en English php json 396 (100%) taylorotwell, bonzai, davidhemphill, themsaid, mziraki, kitbs
pt‑BR Brazilian Portuguese php json 396 (100%) henryavila, pedrofurtado, eduardokum, saulo-silva, chbbc, IgorDePaula
nb Norwegian Bokmål php json 396 (100%) einar-johan
ru Russian php json 396 (100%) hivokas, S-anasol, sanasol, den1n, deadem, estim
es Spanish php json 396 (100%) joebordes, ajmariduena, iksaku, Arryan, kennyhorna, kitbs, xcodinas, dgtal, rodrigore
de German php json 395 (99.7%) pille1842, shieraki, kitbs, dakira
ar Arabic php json 394 (99.5%) saleem-hadad, danyelkeddah, Arryan
fr French php json 390 (98.5%) MarceauKa, InfinityWebMe, Yannik-Slym, kitbs, Arryan, KillianH
zh‑CN Chinese (Simplified) php json 389 (98.2%) jcc, zacksleo, masterwto
zh‑TW Chinese (Traditional) php json 389 (98.2%) CasperLaiTW, zacksleo
fa Farsi php json 376 (94.9%) alirezamirsepassi, mziraki
pt Portuguese php json 372 (93.9%) Pedrocssg
it Italian php json 352 (88.9%) (unknown), manuelcoppotelli, dejdav
ca Catalan php json 351 (88.6%) joebordes
eu Basque php json 350 (88.4%) JonPaternain
sv Swedish php json 349 (88.1%) tanjemark
hr Croatian php json 348 (87.9%) defart, walaski
cs Czech php json 348 (87.9%) walaskir, walaski
da Danish php json 348 (87.9%) olivernybroe
nl Dutch php json 348 (87.9%) happyDemon, jschram, sebastiaanspeck, daniel-de-wit
fil Filipino php json 348 (87.9%) granaderos
fi Finnish php json 348 (87.9%) Krisseck
ka Georgian php json 348 (87.9%) akalongman
hi Hindi php json 348 (87.9%) bantya
hu Hungarian php json 348 (87.9%) milli05
id Indonesian php json 348 (87.9%) dvlwj
sr Serbian (Cyrillic) php json 348 (87.9%) marjanovicsteva
sr‑Latn Serbian (Latin) php json 348 (87.9%) marjanovicsteva
sk Slovak php json 348 (87.9%) hejty
sl Slovenian php json 348 (87.9%) morpheus7CS
tr Turkish php json 348 (87.9%) bureken, sineld, dilekuzulmez
uk Ukrainian php json 348 (87.9%) hivokas, Ostap34JS, coderello, osbre
lt Lithuanian php json 347 (87.6%) minved
pl Polish php json 347 (87.6%) Strus, marekfilip, wiktor-k
ro Romanian php json 346 (87.4%) BTeodorWork, alexgiuvara
tl Tagalog php json 346 (87.4%) rcjavier
bg Bulgarian php json 345 (87.1%) BKirev

Missing Languages

The following languages are supported for the main Laravel framework by the excellent caouecs/laravel-lang package. We would love for our package to make these languages available for Nova as well. If you are able to contribute to any of these or other languages, please read our contributing guidelines and raise a PR.

Parity with caouecs/laravel-lang 35/73 (47.9%)

Code Language Lines translated
sq Albanian 0 (0%)
az Azerbaijani 0 (0%)
bn Bangla 0 (0%)
be Belarusian 0 (0%)
bs Bosnian 0 (0%)
zh‑HK Chinese (Hong Kong) 0 (0%)
et Estonian 0 (0%)
gl Galician 0 (0%)
de‑CH German (Switzerland) 0 (0%)
el Greek 0 (0%)
he Hebrew 0 (0%)
is Icelandic 0 (0%)
ja Japanese 0 (0%)
kn Kannada 0 (0%)
kk Kazakh 0 (0%)
km Khmer 0 (0%)
ko Korean 0 (0%)
lv Latvian 0 (0%)
mk Macedonian 0 (0%)
ms Malay 0 (0%)
mr Marathi 0 (0%)
mn Mongolian 0 (0%)
cnr Montenegrin 0 (0%)
ne Nepali 0 (0%)
nn Norwegian Nynorsk 0 (0%)
ps Pashto 0 (0%)
sc Sardinian 0 (0%)
si Sinhala 0 (0%)
sw Swahili 0 (0%)
tg Tajik 0 (0%)
th Thai 0 (0%)
tk Turkmen 0 (0%)
ur Urdu 0 (0%)
ug Uyghur 0 (0%)
uz‑Cyrl Uzbek (Cyrillic) 0 (0%)
uz‑Latn Uzbek (Latin) 0 (0%)
vi Vietnamese 0 (0%)
cy Welsh 0 (0%)

About

🌌 Language files for Laravel Nova translated into 35+ languages. Feel free to submit your language or update an existing one!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%