Coder Social home page Coder Social logo

lanshe / laravel-nova-lang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coderello/laravel-nova-lang

0.0 1.0 0.0 1.21 MB

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

Home Page: https://novapackages.com/packages/coderello/laravel-nova-lang

License: MIT License

PHP 100.00%

laravel-nova-lang's Introduction

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 is available at Development Commands.

Available Languages

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.

Total languages 44
Total lines translated 17,207 (92.2%)

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

Missing Languages

The following languages are supported for the main Laravel framework by the excellent laravel-lang/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 laravel-lang/lang 42/76 (55.3%)

Code Language Lines translated
sq Albanian 0 (0%)
hy Armenian 0 (0%)
az Azerbaijani 0 (0%)
bn Bangla 0 (0%)
be Belarusian 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%)
kn Kannada 0 (0%)
kk Kazakh 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%)
oc Occitan 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%)
ug Uyghur 0 (0%)
uz‑Cyrl Uzbek (Cyrillic) 0 (0%)
vi Vietnamese 0 (0%)
cy Welsh 0 (0%)

laravel-nova-lang's People

Contributors

arryan avatar caddydz avatar dejdav avatar den1n avatar dtix avatar henryavila avatar hivokas avatar i3asm avatar igordepaula avatar iksaku avatar joebordes avatar jschram avatar killianh avatar kitbs avatar mali63 avatar marceauka avatar milli05 avatar minved avatar mjperpinosa avatar mziraki avatar olivernybroe avatar pierolin avatar sanasol avatar shaffe-fr avatar soulshockers avatar storyn26383 avatar tanjemark avatar wiktor-k avatar zacksleo avatar zgabievi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.