Skip to content

Commit 47d5441

Browse files
committed
include request for missing languages
1 parent 9a1f1e3 commit 47d5441

File tree

3 files changed

+54
-6
lines changed

3 files changed

+54
-6
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,51 @@ Total lines translated ![14256 (91.1%)](https://img.shields.io/badge/12988-91%25
109109
| `ro` | Romanian | [`php`](resources/lang/ro) [`json`](resources/lang/ro.json) | ![346 (87.4%)](https://img.shields.io/badge/346-87%25-orange?style=flat-square) | [BTeodorWork](https://github.com/BTeodorWork), [alexgiuvara](https://github.com/alexgiuvara) |
110110
| `tl` | Tagalog | [`php`](resources/lang/tl) [`json`](resources/lang/tl.json) | ![346 (87.4%)](https://img.shields.io/badge/346-87%25-orange?style=flat-square) | [rcjavier](https://github.com/rcjavier) |
111111
| `bg` | Bulgarian | [`php`](resources/lang/bg) [`json`](resources/lang/bg.json) | ![345 (87.1%)](https://img.shields.io/badge/345-87%25-orange?style=flat-square) | [BKirev](https://github.com/BKirev) |
112+
113+
## Missing Languages
114+
115+
The following languages are supported for the main Laravel framework by the excellent [caouecs/laravel-lang](https://github.com/caouecs/Laravel-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](CONTRIBUTING.md) and raise a PR.
116+
117+
Parity with `caouecs/laravel-lang` ![34/73 (46.6%)](https://img.shields.io/badge/34%2F73-46%25-red?style=flat-square)
118+
119+
| Code | Language | Lines translated |
120+
| --- | --- | --- |
121+
| `sq` | Albanian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
122+
| `az` | Azerbaijani | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
123+
| `bn` | Bangla | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
124+
| `be` | Belarusian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
125+
| `bs` | Bosnian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
126+
| `zh‑HK` | Chinese (Hong Kong) | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
127+
| `et` | Estonian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
128+
| `gl` | Galician | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
129+
| `de‑CH` | German (Switzerland) | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
130+
| `el` | Greek | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
131+
| `he` | Hebrew | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
132+
| `is` | Icelandic | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
133+
| `ja` | Japanese | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
134+
| `kn` | Kannada | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
135+
| `kk` | Kazakh | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
136+
| `km` | Khmer | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
137+
| `ko` | Korean | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
138+
| `lv` | Latvian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
139+
| `mk` | Macedonian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
140+
| `ms` | Malay | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
141+
| `mr` | Marathi | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
142+
| `mn` | Mongolian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
143+
| `cnr` | Montenegrin | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
144+
| `ne` | Nepali | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
145+
| `nb` | Norwegian Bokmål | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
146+
| `nn` | Norwegian Nynorsk | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
147+
| `ps` | Pashto | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
148+
| `sc` | Sardinian | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
149+
| `si` | Sinhala | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
150+
| `sw` | Swahili | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
151+
| `tg` | Tajik | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
152+
| `th` | Thai | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
153+
| `tk` | Turkmen | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
154+
| `ur` | Urdu | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
155+
| `ug` | Uyghur | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
156+
| `uz‑Cyrl` | Uzbek (Cyrillic) | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
157+
| `uz‑Latn` | Uzbek (Latin) | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
158+
| `vi` | Vietnamese | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |
159+
| `cy` | Welsh | ![0 (0%)](https://img.shields.io/badge/0-0%25-lightgray?style=flat-square) |

contributors.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,11 @@
484484
"complete": 0,
485485
"contributors": []
486486
},
487+
"cnr": {
488+
"name": "Montenegrin",
489+
"complete": 0,
490+
"contributors": []
491+
},
487492
"ne": {
488493
"name": "Nepali",
489494
"complete": 0,
@@ -563,10 +568,5 @@
563568
"name": "Welsh",
564569
"complete": 0,
565570
"contributors": []
566-
},
567-
"cnr": {
568-
"name": "Montenegrin",
569-
"complete": 0,
570-
"contributors": []
571571
}
572572
}

src/Commands/NovaLangStats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function handle()
7878
$blame = collect($this->getBlame());
7979

8080
$caouecsLocales = $this->getCaouecsLocales();
81-
$allLocales = $caouecsLocales->merge($availableLocales);
81+
$allLocales = $caouecsLocales->merge($availableLocales)->unique()->values();
8282

8383
$allLocales->each(function (string $locale) use ($contributors, $sourceKeys, $sourceCount, $sourcePhpKeys, $blame, &$translatedCount) {
8484

0 commit comments

Comments
 (0)