Skip to content

Commit

Permalink
Add names for 2 letter codes (#572)
Browse files Browse the repository at this point in the history
* Remove unlisted languages and add names for 2 letter codes

* Add names for 2 letter codes

* Remove unlisted languages and add names for 2 letter codes

* Add names for 2 letter codes

* Add 3-letter codes along with the 2-letter codes and change slugify to return slug without special characters

* Add language codes for Chinese

* Modify language code capitalization

---------

Co-authored-by: Tovmas <tharrison748@gmail.com>
  • Loading branch information
tovmasharrison and Tovmas authored Dec 5, 2023
1 parent f8e3ab3 commit d2e2e09
Show file tree
Hide file tree
Showing 41 changed files with 410 additions and 508 deletions.
235 changes: 128 additions & 107 deletions _data/languages.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions apis/aisa.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ supported_languages:
base_code: hi
name: Hindi
variant_name: null
- slug: null
- slug: chinese
code: huyu
normalized_code: Huyu
base_code: Huyu
name: null
normalized_code: huyu
base_code: huyu
name: Chinese
variant_name: null
- slug: indonesian
code: id
Expand Down
40 changes: 20 additions & 20 deletions apis/alibaba.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ supported_languages:
base_code: ceb
name: Cebuano
variant_name: null
- slug: ch
- slug: chamorro
code: ch
normalized_code: ch
base_code: ch
name: null
name: Chamorro
variant_name: null
- slug: chm
code: chm
Expand Down Expand Up @@ -470,11 +470,11 @@ supported_languages:
base_code: hy
name: Armenian
variant_name: null
- slug: ia
- slug: interlingua
code: ia
normalized_code: ia
base_code: ia
name: null
name: Interlingua
variant_name: null
- slug: iba
code: iba
Expand All @@ -488,11 +488,11 @@ supported_languages:
base_code: id
name: Indonesian
variant_name: null
- slug: ie
- slug: interlingue
code: ie
normalized_code: ie
base_code: ie
name: null
name: Interlingue
variant_name: null
- slug: igbo
code: ig
Expand All @@ -512,11 +512,11 @@ supported_languages:
base_code: inh
name: null
variant_name: null
- slug: io
- slug: ido
code: io
normalized_code: io
base_code: io
name: null
name: Ido
variant_name: null
- slug: icelandic
code: is
Expand Down Expand Up @@ -596,11 +596,11 @@ supported_languages:
base_code: kk
name: Kazakh
variant_name: null
- slug: kl
- slug: kalaallisut
code: kl
normalized_code: kl
base_code: kl
name: null
name: Kalaallisut
variant_name: null
- slug: khmer
code: km
Expand All @@ -620,11 +620,11 @@ supported_languages:
base_code: ko
name: Korean
variant_name: null
- slug: kr
- slug: kanuri
code: kr
normalized_code: kr
base_code: kr
name: null
name: Kanuri
variant_name: null
- slug: kashmiri
code: ks
Expand Down Expand Up @@ -830,11 +830,11 @@ supported_languages:
base_code: 'no'
name: Norwegian
variant_name: null
- slug: nv
- slug: navajo
code: nv
normalized_code: nv
base_code: nv
name: null
name: Navajo
variant_name: null
- slug: chichewa
code: ny
Expand All @@ -848,11 +848,11 @@ supported_languages:
base_code: oc
name: Occitan
variant_name: null
- slug: oj
- slug: ojibwa
code: oj
normalized_code: oj
base_code: oj
name: null
name: Ojibwa
variant_name: null
- slug: oromo
code: om
Expand Down Expand Up @@ -1226,17 +1226,17 @@ supported_languages:
base_code: vi
name: Vietnamese
variant_name: null
- slug: vo
- slug: volapuk
code: vo
normalized_code: vo
base_code: vo
name: null
name: "Volap\xFCk"
variant_name: null
- slug: wa
- slug: walloon
code: wa
normalized_code: wa
base_code: wa
name: null
name: Walloon
variant_name: null
- slug: waray
code: war
Expand Down
30 changes: 15 additions & 15 deletions apis/baidu.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ supported_languages:
base_code: co
name: Corsican
variant_name: null
- slug: null
- slug: cree
code: cre
normalized_code: cr
base_code: cr
name: null
name: Cree
variant_name: null
- slug: crimean-tatar
code: crh
Expand Down Expand Up @@ -493,19 +493,19 @@ supported_languages:
code: ido
normalized_code: io
base_code: io
name: null
name: Ido
variant_name: null
- slug: inuktitut
code: iku
normalized_code: iu
base_code: iu
name: Inuktitut
variant_name: null
- slug: ina
- slug: interlingua
code: ina
normalized_code: ia
base_code: ia
name: null
name: Interlingua
variant_name: null
- slug: indonesian
code: ind
Expand Down Expand Up @@ -549,11 +549,11 @@ supported_languages:
base_code: kab
name: Kabyle
variant_name: null
- slug: kal
- slug: kalaallisut
code: kal
normalized_code: kl
base_code: kl
name: null
name: Kalaallisut
variant_name: null
- slug: kannada
code: kan
Expand All @@ -567,11 +567,11 @@ supported_languages:
base_code: ks
name: Kashmiri
variant_name: null
- slug: kau
- slug: kanuri
code: kau
normalized_code: kr
base_code: kr
name: null
name: Kanuri
variant_name: null
- slug: kazakh
code: kaz
Expand Down Expand Up @@ -753,11 +753,11 @@ supported_languages:
base_code: nap
name: null
variant_name: null
- slug: null
- slug: south-ndebele
code: nbl
normalized_code: nr
base_code: nr
name: null
name: South Ndebele
variant_name: null
- slug: nds
code: nds
Expand Down Expand Up @@ -819,11 +819,11 @@ supported_languages:
base_code: oc
name: Occitan
variant_name: null
- slug: oji
- slug: ojibwa
code: oji
normalized_code: oj
base_code: oj
name: null
name: Ojibwa
variant_name: null
- slug: oriya
code: ori
Expand Down Expand Up @@ -1161,11 +1161,11 @@ supported_languages:
base_code: vi
name: Vietnamese
variant_name: null
- slug: wln
- slug: walloon
code: wln
normalized_code: wa
base_code: wa
name: null
name: Walloon
variant_name: null
- slug: wolof
code: wol
Expand Down
24 changes: 12 additions & 12 deletions apis/niutrans.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,11 @@ supported_languages:
base_code: cfm
name: null
variant_name: null
- slug: cha
- slug: chamorro
code: cha
normalized_code: ch
base_code: ch
name: null
name: Chamorro
variant_name: null
- slug: chechen
code: che
Expand Down Expand Up @@ -795,11 +795,11 @@ supported_languages:
base_code: he
name: Hebrew
variant_name: null
- slug: null
- slug: herero
code: her
normalized_code: hz
base_code: hz
name: null
name: Herero
variant_name: null
- slug: hindi
code: hi
Expand All @@ -819,11 +819,11 @@ supported_languages:
base_code: hlb
name: null
variant_name: null
- slug: null
- slug: hiri-motu
code: hmo
normalized_code: ho
base_code: ho
name: null
name: Hiri Motu
variant_name: null
- slug: croatian
code: hr
Expand Down Expand Up @@ -1233,11 +1233,11 @@ supported_languages:
base_code: lua
name: Luba-Kasai
variant_name: null
- slug: null
- slug: luba-katanga
code: lub
normalized_code: lu
base_code: lu
name: null
name: Luba-Katanga
variant_name: null
- slug: lue
code: lue
Expand Down Expand Up @@ -1431,11 +1431,11 @@ supported_languages:
base_code: my
name: Burmese
variant_name: null
- slug: nav
- slug: navajo
code: nav
normalized_code: nv
base_code: nv
name: null
name: Navajo
variant_name: null
- slug: nba
code: nba
Expand All @@ -1449,11 +1449,11 @@ supported_languages:
base_code: ndc
name: null
variant_name: null
- slug: null
- slug: ndonga
code: ndo
normalized_code: ng
base_code: ng
name: null
name: Ndonga
variant_name: null
- slug: nepali
code: ne
Expand Down
5 changes: 5 additions & 0 deletions apis/pangeamt.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ integrations:
plugin: true
custom: true
active: false
- slug: translate5
name: translate5
active: false
urls:
- https://confluence.translate5.net/display/CON/PangeaMT
active: true
seo:
name: The PangeaMT machine translation API
Expand Down
Loading

0 comments on commit d2e2e09

Please sign in to comment.