Code Monkey home page Code Monkey logo

nova-lang-sandbox's Introduction

Laraflash

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.

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

Language Code Lines translated Thanks to
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
Arabic ar 344 (87.8%) saleem-hadad, Arryan
Romanian ro 344 (87.8%) BTeodorWork, alexgiuvara
Tagalog tl 344 (87.8%) rcjavier

nova-lang-sandbox's People

Contributors

alirezamirsepassi avatar arryan avatar bkirev avatar dejdav avatar dgtal avatar igordepaula avatar joebordes avatar jschram avatar killianh avatar kitbs avatar marceauka avatar milli05 avatar minved avatar mjperpinosa avatar mziraki avatar olivernybroe avatar pierolin avatar pille1842 avatar rcjavier avatar rodrigore avatar sanasol avatar saulo-silva avatar sebastiaanspeck avatar sineld avatar strus avatar tanjemark avatar teodoriu avatar wiktor-k avatar xcodinas avatar zacksleo 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.