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.
If you want to contribute, please ensure you read the contributing guidelines first.
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
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.
Language | Code | Lines translated | Thanks to |
---|---|---|---|
Arabic | ar | 392 (100%) | saleem-hadad, danyelkeddah, Arryan |
Brazilian Portuguese | pt-BR | 392 (100%) | henryavila, pedrofurtado, eduardokum, saulo-silva, chbbc, IgorDePaula |
English | en | 392 (100%) | taylorotwell, bonzai, davidhemphill, themsaid, mziraki, kitbs |
German | de | 392 (100%) | pille1842, shieraki, kitbs, dakira |
Chinese (Simplified) | zh-CN | 387 (98.7%) | jcc, zacksleo |
Chinese (Traditional) | zh-TW | 387 (98.7%) | CasperLaiTW, zacksleo |
French | fr | 387 (98.7%) | MarceauKa, InfinityWebMe, Arryan, KillianH |
Spanish | es | 382 (97.4%) | joebordes, ajmariduena, Arryan, xcodinas, dgtal, rodrigore |
Farsi | fa | 374 (95.4%) | alirezamirsepassi, mziraki |
Russian | ru | 371 (94.6%) | hivokas, S-anasol, deadem, estim |
Portuguese | pt | 370 (94.4%) | Pedrocssg |
Italian | it | 350 (89.3%) | (deleted), manuelcoppotelli, dejdav |
Catalan | ca | 349 (89%) | joebordes |
Basque | eu | 348 (88.8%) | JonPaternain |
Swedish | sv | 347 (88.5%) | tanjemark |
Croatian | hr | 346 (88.3%) | defart, walaski |
Czech | cs | 346 (88.3%) | walaskir, walaski |
Danish | da | 346 (88.3%) | olivernybroe |
Dutch | nl | 346 (88.3%) | happyDemon, jschram, sebastiaanspeck, daniel-de-wit |
Filipino | fil | 346 (88.3%) | granaderos |
Finnish | fi | 346 (88.3%) | Krisseck |
Georgian | ka | 346 (88.3%) | akalongman |
Hindi | hi | 346 (88.3%) | bantya |
Hungarian | hu | 346 (88.3%) | milli05 |
Indonesian | id | 346 (88.3%) | dvlwj |
Serbian (Cyrillic) | sr | 346 (88.3%) | marjanovicsteva |
Serbian (Latin) | sr-Latn | 346 (88.3%) | marjanovicsteva |
Slovak | sk | 346 (88.3%) | hejty |
Slovenian | sl | 346 (88.3%) | morpheus7CS |
Turkish | tr | 346 (88.3%) | bureken, sineld, dilekuzulmez |
Ukrainian | uk | 346 (88.3%) | hivokas, Ostap34JS, coderello |
Bulgarian | bg | 345 (88%) | BKirev |
Lithuanian | lt | 345 (88%) | minved |
Polish | pl | 345 (88%) | Strus, marekfilip, wiktor-k |
Romanian | ro | 344 (87.8%) | BTeodorWork, alexgiuvara |
Tagalog | tl | 344 (87.8%) | rcjavier |