This repository is like Babbel for your Laravel Nova app, without the learning part. It's a curated list of more than twenty language files for your favorite admin panel. Big thanks to all the great worldwide contributors.
Available languages (21 languages)
Language | Code | LCID | Thanks to |
---|---|---|---|
Arabic | ar | hanikeddah | |
Albanian | sq | sallmin | |
Bengali | bn | bn-bd | iamazik |
Chinese (China) | zh | zh-cn | jltxwesley |
Danish | da | peterbrinck | |
English | en | en-us | Nova folks |
French | fr | fr-fr | xel1045 and benjamincrozat |
German | de | de-de | franzdumfart, mrmonat, pajoda |
Greek | gr | Erth0 | |
Indonesian | id | mul14 and zeroseed | |
Italian | it | it-it | s3b4stian |
Lithuanian | lt | girvydas | |
Netherlands | nl | Cannonb4ll and patrickbergman | |
Norwegian | nb | no-no | LasseHaslev |
Polish | pl | aurawindsurfing | |
Portuguese (Brazil) | pt | pt-br | dessimoni |
Russian | ru | ru | SerhiiStarovoitov |
Spanish | es | es-es | tinthenet, Zerquix18 and driade |
Tagalog | tl | ambengers | |
Turkish | tr | emir | |
Ukrainian | uk | uk | ustych |
Usage
Manual
Navigate to the lang
folder, download your preferred language files and save them to /resources/lang/vendor/nova/
.
For further details about Nova Localization, please check out the docs.
Automatic
You can make sure that you are always up to date with the latest translations by adding two commands on the post-autoload-dump
hook in your composer.json
file. Of course, you can do that for as many languages as you want.
{
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover",
"mkdir -p resources/lang/vendor/nova",
"wget https://raw.githubusercontent.com/franzdumfart/laravel-nova-localizations/master/lang/fr.json -O resources/lang/vendor/nova/fr.json"
]
},
}
Don't forget to customize for your needs.
Help
Feel free to submit a pull request and add your desired language or updates.