Skip to content

Commit

Permalink
update website docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbs committed Mar 5, 2020
1 parent 667f963 commit e4402f3
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 2 deletions.
16 changes: 16 additions & 0 deletions docs/development-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ A new JSON file will be created at `storage_path('app/nova-lang/reorder/{locale}
php artisan nova-lang:reorder --all
```

#### Country Names Command

This command is to assist contributors to download the country names automatically from the [Unicode Common Locale Data Repository](http://cldr.unicode.org/translation/displaynames/country-names) (CLDR). We use the CLDR as the definitive source for country names, as described in the contribution guidelines.

A new JSON file will be created at `storage_path('app/nova-lang/countries/{locale}.json')`. You can merge the keys from this file into `resources/lang/{locale}.json` in your fork before you raise a PR.

* Output country names for one or more languages:
```bash
php artisan nova-lang:country de,ru
```

* Output country names for all languages:
```bash
php artisan nova-lang:country --all
```

## Stats Command

This command is to assist maintainers to update the completeness of each language and list of contributors in this README file.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Installation
section: Getting Started
weight: 1000
weight: 990
featherIcon: download
---

Expand Down
54 changes: 53 additions & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,60 @@
---
title: Introduction
section: Getting Started
weight: 990
weight: 1000
featherIcon: info
---

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]({{base}}/{{version}}/contributing) and raise a PR.

## Available Languages

Total languages ![42](https://img.shields.io/badge/42-gray?style=flat-square)
Total lines translated ![17010 (94%)](https://img.shields.io/badge/15995-94%25-yellow?style=flat-square)

| Code | Language | Translated files | Lines translated | Thanks to |
| --- | --- | --- | --- | --- |
| `en` | English | [`php`](resources/lang/en) [`json`](resources/lang/en.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [taylorotwell](https://github.com/taylorotwell), [bonzai](https://github.com/bonzai), [davidhemphill](https://github.com/davidhemphill), [jbrooksuk](https://github.com/jbrooksuk), [themsaid](https://github.com/themsaid), [kitbs](https://github.com/kitbs), [dillingham](https://github.com/dillingham) |
| `pt‑BR` | Brazilian Portuguese | [`php`](resources/lang/pt-BR) [`json`](resources/lang/pt-BR.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [henryavila](https://github.com/henryavila), [pedrofurtado](https://github.com/pedrofurtado), [eduardokum](https://github.com/eduardokum), [saulo-silva](https://github.com/saulo-silva), [chbbc](https://github.com/chbbc), [IgorDePaula](https://github.com/IgorDePaula) |
| `cs` | Czech | [`php`](resources/lang/cs) [`json`](resources/lang/cs.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [walaskir](https://github.com/walaskir), [theimerj](https://github.com/theimerj), [walaski](https://github.com/walaski) |
| `nl` | Dutch | [`php`](resources/lang/nl) [`json`](resources/lang/nl.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [DannyvdSluijs](https://github.com/DannyvdSluijs), [happyDemon](https://github.com/happyDemon), [steefmin](https://github.com/steefmin), [jschram](https://github.com/jschram), [sebastiaanspeck](https://github.com/sebastiaanspeck), [daniel-de-wit](https://github.com/daniel-de-wit) |
| `fr` | French | [`php`](resources/lang/fr) [`json`](resources/lang/fr.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [MarceauKa](https://github.com/MarceauKa), [Yannik-Slym](https://github.com/Yannik-Slym), [InfinityWebMe](https://github.com/InfinityWebMe), [kitbs](https://github.com/kitbs), [shaffe-fr](https://github.com/shaffe-fr), [Arryan](https://github.com/Arryan), [KillianH](https://github.com/KillianH) |
| `de` | German | [`php`](resources/lang/de) [`json`](resources/lang/de.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [pille1842](https://github.com/pille1842), [shieraki](https://github.com/shieraki), [kitbs](https://github.com/kitbs), [tobiasthaden](https://github.com/tobiasthaden), [dakira](https://github.com/dakira) |
| `nb` | Norwegian Bokmål | [`php`](resources/lang/nb) [`json`](resources/lang/nb.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [einar-johan](https://github.com/einar-johan) |
| `ro` | Romanian | [`php`](resources/lang/ro) [`json`](resources/lang/ro.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [BTeodorWork](https://github.com/BTeodorWork), [dtix](https://github.com/dtix), [alexgiuvara](https://github.com/alexgiuvara) |
| `ru` | Russian | [`php`](resources/lang/ru) [`json`](resources/lang/ru.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [hivokas](https://github.com/hivokas), [sanasol](https://github.com/sanasol), [den1n](https://github.com/den1n), [deadem](https://github.com/deadem), [soulshockers](https://github.com/soulshockers), [estim](https://github.com/estim) |
| `es` | Spanish | [`php`](resources/lang/es) [`json`](resources/lang/es.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [kitbs](https://github.com/kitbs), [joebordes](https://github.com/joebordes), [ajmariduena](https://github.com/ajmariduena), [iksaku](https://github.com/iksaku), [IGedeon](https://github.com/IGedeon), [Arryan](https://github.com/Arryan), [kennyhorna](https://github.com/kennyhorna), [xcodinas](https://github.com/xcodinas), [dgtal](https://github.com/dgtal), [rodrigore](https://github.com/rodrigore) |
| `sv` | Swedish | [`php`](resources/lang/sv) [`json`](resources/lang/sv.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [tanjemark](https://github.com/tanjemark), [slackernrrd](https://github.com/slackernrrd) |
| `uk` | Ukrainian | [`php`](resources/lang/uk) [`json`](resources/lang/uk.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [soulshockers](https://github.com/soulshockers), [Ostap34JS](https://github.com/Ostap34JS), [osbre](https://github.com/osbre) |
| `uz‑Latn` | Uzbek (Latin) | [`php`](resources/lang/uz-Latn) [`json`](resources/lang/uz-Latn.json) | ![405 (100%)](https://img.shields.io/badge/405-100%25-brightgreen?style=flat-square) | [shokhaa](https://github.com/shokhaa) |
| `af` | Afrikaans | [`php`](resources/lang/af) [`json`](resources/lang/af.json) | ![400 (98.8%)](https://img.shields.io/badge/400-98%25-green?style=flat-square) | [medlion](https://github.com/medlion) |
| `bs` | Bosnian | [`php`](resources/lang/bs) [`json`](resources/lang/bs.json) | ![400 (98.8%)](https://img.shields.io/badge/400-98%25-green?style=flat-square) | [hajro92](https://github.com/hajro92) |
| `hu` | Hungarian | [`php`](resources/lang/hu) [`json`](resources/lang/hu.json) | ![400 (98.8%)](https://img.shields.io/badge/400-98%25-green?style=flat-square) | [milli05](https://github.com/milli05), [bgeree](https://github.com/bgeree) |
| `ja` | Japanese | [`php`](resources/lang/ja) [`json`](resources/lang/ja.json) | ![400 (98.8%)](https://img.shields.io/badge/400-98%25-green?style=flat-square) | [Tsumagari](https://github.com/Tsumagari) |
| `fa` | Farsi | [`php`](resources/lang/fa) [`json`](resources/lang/fa.json) | ![399 (98.5%)](https://img.shields.io/badge/399-98%25-green?style=flat-square) | [alirezamirsepassi](https://github.com/alirezamirsepassi), [mziraki](https://github.com/mziraki), [zareismail](https://github.com/zareismail) |
| `tk` | Turkmen | [`php`](resources/lang/tk) [`json`](resources/lang/tk.json) | ![399 (98.5%)](https://img.shields.io/badge/399-98%25-green?style=flat-square) | [kakajansh](https://github.com/kakajansh) |
| `ar` | Arabic | [`php`](resources/lang/ar) [`json`](resources/lang/ar.json) | ![398 (98.3%)](https://img.shields.io/badge/398-98%25-green?style=flat-square) | [saleem-hadad](https://github.com/saleem-hadad), [danyelkeddah](https://github.com/danyelkeddah), [omarfathy13](https://github.com/omarfathy13), [Arryan](https://github.com/Arryan) |
| `pl` | Polish | [`php`](resources/lang/pl) [`json`](resources/lang/pl.json) | ![397 (98%)](https://img.shields.io/badge/397-98%25-green?style=flat-square) | [pzmarzly](https://github.com/pzmarzly), [Strus](https://github.com/Strus), [marekfilip](https://github.com/marekfilip), [mslepko](https://github.com/mslepko), [wiktor-k](https://github.com/wiktor-k) |
| `zh‑CN` | Chinese (Simplified) | [`php`](resources/lang/zh-CN) [`json`](resources/lang/zh-CN.json) | ![393 (97%)](https://img.shields.io/badge/393-97%25-green?style=flat-square) | [jcc](https://github.com/jcc), [zacksleo](https://github.com/zacksleo), [masterwto](https://github.com/masterwto) |
| `zh‑TW` | Chinese (Traditional) | [`php`](resources/lang/zh-TW) [`json`](resources/lang/zh-TW.json) | ![393 (97%)](https://img.shields.io/badge/393-97%25-green?style=flat-square) | [CasperLaiTW](https://github.com/CasperLaiTW), [zacksleo](https://github.com/zacksleo) |
| `tr` | Turkish | [`php`](resources/lang/tr) [`json`](resources/lang/tr.json) | ![393 (97%)](https://img.shields.io/badge/393-97%25-green?style=flat-square) | [bureken](https://github.com/bureken), [Milkhan](https://github.com/Milkhan), [sineld](https://github.com/sineld), [dilekuzulmez](https://github.com/dilekuzulmez) |
| `pt` | Portuguese | [`php`](resources/lang/pt) [`json`](resources/lang/pt.json) | ![376 (92.8%)](https://img.shields.io/badge/376-92%25-yellow?style=flat-square) | [Pedrocssg](https://github.com/Pedrocssg) |
| `it` | Italian | [`php`](resources/lang/it) [`json`](resources/lang/it.json) | ![356 (87.9%)](https://img.shields.io/badge/356-87%25-orange?style=flat-square) | (unknown), [manuelcoppotelli](https://github.com/manuelcoppotelli), [dejdav](https://github.com/dejdav) |
| `ca` | Catalan | [`php`](resources/lang/ca) [`json`](resources/lang/ca.json) | ![355 (87.7%)](https://img.shields.io/badge/355-87%25-orange?style=flat-square) | [joebordes](https://github.com/joebordes) |
| `eu` | Basque | [`php`](resources/lang/eu) [`json`](resources/lang/eu.json) | ![354 (87.4%)](https://img.shields.io/badge/354-87%25-orange?style=flat-square) | [JonPaternain](https://github.com/JonPaternain) |
| `hr` | Croatian | [`php`](resources/lang/hr) [`json`](resources/lang/hr.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [defart](https://github.com/defart), [walaski](https://github.com/walaski) |
| `da` | Danish | [`php`](resources/lang/da) [`json`](resources/lang/da.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [olivernybroe](https://github.com/olivernybroe) |
| `fil` | Filipino | [`php`](resources/lang/fil) [`json`](resources/lang/fil.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [granaderos](https://github.com/granaderos) |
| `fi` | Finnish | [`php`](resources/lang/fi) [`json`](resources/lang/fi.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [Krisseck](https://github.com/Krisseck) |
| `ka` | Georgian | [`php`](resources/lang/ka) [`json`](resources/lang/ka.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [akalongman](https://github.com/akalongman) |
| `hi` | Hindi | [`php`](resources/lang/hi) [`json`](resources/lang/hi.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [bantya](https://github.com/bantya) |
| `id` | Indonesian | [`php`](resources/lang/id) [`json`](resources/lang/id.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [dvlwj](https://github.com/dvlwj) |
| `sr` | Serbian (Cyrillic) | [`php`](resources/lang/sr) [`json`](resources/lang/sr.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [marjanovicsteva](https://github.com/marjanovicsteva) |
| `sr‑Latn` | Serbian (Latin) | [`php`](resources/lang/sr-Latn) [`json`](resources/lang/sr-Latn.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [marjanovicsteva](https://github.com/marjanovicsteva) |
| `sk` | Slovak | [`php`](resources/lang/sk) [`json`](resources/lang/sk.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [hejty](https://github.com/hejty) |
| `sl` | Slovenian | [`php`](resources/lang/sl) [`json`](resources/lang/sl.json) | ![352 (86.9%)](https://img.shields.io/badge/352-86%25-orange?style=flat-square) | [morpheus7CS](https://github.com/morpheus7CS) |
| `lt` | Lithuanian | [`php`](resources/lang/lt) [`json`](resources/lang/lt.json) | ![351 (86.7%)](https://img.shields.io/badge/351-86%25-orange?style=flat-square) | [minved](https://github.com/minved) |
| `bg` | Bulgarian | [`php`](resources/lang/bg) [`json`](resources/lang/bg.json) | ![349 (86.2%)](https://img.shields.io/badge/349-86%25-orange?style=flat-square) | [BKirev](https://github.com/BKirev) |
| `tl` | Tagalog | [`php`](resources/lang/tl) [`json`](resources/lang/tl.json) | ![345 (85.2%)](https://img.shields.io/badge/345-85%25-orange?style=flat-square) | [rcjavier](https://github.com/rcjavier) |

0 comments on commit e4402f3

Please sign in to comment.