Skip to content

Commit e4402f3

Browse files
committed
update website docs
1 parent 667f963 commit e4402f3

File tree

3 files changed

+70
-2
lines changed

3 files changed

+70
-2
lines changed

docs/development-commands.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@ A new JSON file will be created at `storage_path('app/nova-lang/reorder/{locale}
4141
php artisan nova-lang:reorder --all
4242
```
4343

44+
#### Country Names Command
45+
46+
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.
47+
48+
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.
49+
50+
* Output country names for one or more languages:
51+
```bash
52+
php artisan nova-lang:country de,ru
53+
```
54+
55+
* Output country names for all languages:
56+
```bash
57+
php artisan nova-lang:country --all
58+
```
59+
4460
## Stats Command
4561

4662
This command is to assist maintainers to update the completeness of each language and list of contributors in this README file.

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Installation
33
section: Getting Started
4-
weight: 1000
4+
weight: 990
55
featherIcon: download
66
---
77

docs/introduction.md

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,60 @@
11
---
22
title: Introduction
33
section: Getting Started
4-
weight: 990
4+
weight: 1000
55
featherIcon: info
66
---
77

8+
Language files for Laravel Nova translated into 40+ languages.
9+
810
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.
11+
12+
## Available Languages
13+
14+
Total languages ![42](https://img.shields.io/badge/42-gray?style=flat-square)
15+
Total lines translated ![17010 (94%)](https://img.shields.io/badge/15995-94%25-yellow?style=flat-square)
16+
17+
| Code | Language | Translated files | Lines translated | Thanks to |
18+
| --- | --- | --- | --- | --- |
19+
| `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) |
20+
| `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) |
21+
| `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) |
22+
| `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) |
23+
| `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) |
24+
| `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) |
25+
| `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) |
26+
| `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) |
27+
| `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) |
28+
| `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) |
29+
| `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) |
30+
| `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) |
31+
| `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) |
32+
| `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) |
33+
| `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) |
34+
| `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) |
35+
| `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) |
36+
| `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) |
37+
| `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) |
38+
| `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) |
39+
| `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) |
40+
| `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) |
41+
| `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) |
42+
| `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) |
43+
| `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) |
44+
| `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) |
45+
| `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) |
46+
| `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) |
47+
| `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) |
48+
| `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) |
49+
| `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) |
50+
| `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) |
51+
| `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) |
52+
| `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) |
53+
| `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) |
54+
| `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) |
55+
| `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) |
56+
| `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) |
57+
| `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) |
58+
| `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) |
59+
| `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) |
60+
| `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 commit comments

Comments
 (0)