This package provides the language support for Laravel Nova.
Feel free to submit your language or update an existing one by sending a PR to help other people.
composer require coderello/laravel-nova-lang
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
You must have the app.debug
config option set to true for these commands to be available:
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
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
Language | Code | Lines translated | Thanks to |
---|---|---|---|
French | fr | 383 (99%) | Arryan, MarceauKa |
English | en | 374 (96.6%) | taylorotwell, bonzai, davidhemphill, themsaid |
Farsi | fa | 374 (96.6%) | mziraki |
Brazilian Portuguese | pt-BR | 372 (96.1%) | chbbc, eduardokum |
Russian | ru | 366 (94.6%) | Sanasol, deadem, estim, hivokas |
German | de | 362 (93.5%) | dakira, pille1842 |
Spanish | es | 340 (87.9%) | Arryan, ajmariduena, joebordes, rodrigore, xcodinas |
Arabic | ar | 338 (87.3%) | Arryan, saleem-hadad |
Basque | eu | 338 (87.3%) | JonPaternain |
Bulgarian | bg | 338 (87.3%) | BKirev |
Catalan | ca | 338 (87.3%) | joebordes |
Croatian | hr | 338 (87.3%) | walaski |
Danish | da | 338 (87.3%) | olivernybroe |
Filipino | fil | 338 (87.3%) | granaderos |
Finnish | fi | 338 (87.3%) | Krisseck |
Georgian | ka | 338 (87.3%) | akalongman |
Hindi | hi | 338 (87.3%) | bantya |
Hungarian | hu | 338 (87.3%) | milli05 |
Indonesian | id | 338 (87.3%) | dvlwj |
Italian | it | 338 (87.3%) | dejdav, manuelcoppotelli |
Lithuanian | lt | 338 (87.3%) | minved |
Portuguese | pt | 338 (87.3%) | Pedrocssg |
Serbian | sr | 338 (87.3%) | marjanovicsteva |
Slovenian | sl | 338 (87.3%) | morpheus7CS |
Swedish | sv | 338 (87.3%) | tanjemark |
Tagalog | tl | 338 (87.3%) | rcjavier |
Ukrainian | uk | 338 (87.3%) | coderello |
Slovak | sk | 337 (87.1%) | hejty |
Chinese | cn | 336 (86.8%) | Pierolin |
Chinese (Simplified) | zh-CN | 336 (86.8%) | jcc |
Chinese (Traditional) | zh-TW | 336 (86.8%) | CasperLaiTW |
Czech | cs | 336 (86.8%) | walaski |
Dutch | nl | 336 (86.8%) | happyDemon, jschram, sebastiaanspeck |
Polish | pl | 336 (86.8%) | Strus, marekfilip, wiktor-k |
Romanian | ro | 336 (86.8%) | BTeodorWork, alexgiuvara |
Turkish | tr | 336 (86.8%) | bureken, dilekuzulmez |