Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
es_CO
localized providers (#1562)
* Create `es` `person` provider to reuse `language_names` * Add person provider for es_CO. * Add address provider for es_CO. * Add automotive provider for es_CO. * Add ssn provider for es_CO. * Add phone_number provider for es_CO. * Organize imports and fix some comments. * Correct spelling mistake in a female name. * Remove python 2 unicode string literals from docstrings. * Format with black. * Fix errors detected by mypy.
- Loading branch information
1 parent
b2f1878
commit eb088b8
Showing
13 changed files
with
2,838 additions
and
190 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from collections import OrderedDict | ||
|
||
from .. import Provider as AutomotiveProvider | ||
|
||
|
||
class Provider(AutomotiveProvider): | ||
|
||
license_formats = OrderedDict( | ||
[ | ||
("???###", 0.6), | ||
("???##?", 0.3), | ||
("T####", 0.03), | ||
("??####", 0.01), | ||
("R#####", 0.03), | ||
("S#####", 0.03), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
from .. import Provider as PersonProvider | ||
|
||
|
||
class Provider(PersonProvider): | ||
|
||
# https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | ||
language_names = [ | ||
"Afar", | ||
"Abjasio", | ||
"Avéstico", | ||
"Africaans", | ||
"Akánico", | ||
"Amhárico", | ||
"Aragonés", | ||
"Arábico", | ||
"Asamés", | ||
"Avar", | ||
"Aimara", | ||
"Azerí", | ||
"Baskir", | ||
"Bielorruso", | ||
"Búlgaro", | ||
"lenguas Bihari", | ||
"Bislama", | ||
"Bambara", | ||
"Bengalí", | ||
"Tibetano", | ||
"Bretón", | ||
"Bosnio", | ||
"Catalán", | ||
"Checheno", | ||
"Chamorro", | ||
"Corso", | ||
"Cree", | ||
"Checo", | ||
"Eslavo eclesiástico", | ||
"Chuvasio", | ||
"Galés", | ||
"Danés", | ||
"Alemán", | ||
"Maldivo", | ||
"Dzongkha", | ||
"Ewé", | ||
"Griego", | ||
"Inglés", | ||
"Esperanto", | ||
"Español", | ||
"Estonio", | ||
"Vasco", | ||
"Persa", | ||
"Fula", | ||
"Finés", | ||
"Fiyiano", | ||
"Feroés", | ||
"Francés", | ||
"lenguas Frisonas", | ||
"Irlandés", | ||
"Gaélico", | ||
"Gallego", | ||
"Guaraní", | ||
"Gujarati", | ||
"Manés", | ||
"Hausa", | ||
"Hebreo", | ||
"Hindú", | ||
"Hiri Motu", | ||
"Croata", | ||
"Haitiano", | ||
"Húngaro", | ||
"Armenio", | ||
"Herero", | ||
"Interlingua", | ||
"Indonés", | ||
"Igbo", | ||
"Nuosu", | ||
"lenguas esquimales", | ||
"Ido", | ||
"Islandés", | ||
"Italiano", | ||
"Inuit", | ||
"Japonés", | ||
"Javanés", | ||
"Georgiano", | ||
"Congolés", | ||
"Kikuyu", | ||
"Kuanyama", | ||
"Kazajo", | ||
"Groenlandés", | ||
"Camboyano", | ||
"Canarés", | ||
"Coreano", | ||
"Kanurí", | ||
"Kashmiri Masala", | ||
"Kurdo", | ||
"Komi", | ||
"Córnico", | ||
"Kirguís", | ||
"Latín", | ||
"Luxemburgués", | ||
"Luganda", | ||
"Limburgués", | ||
"Lingala", | ||
"Lao", | ||
"Lituano", | ||
"Kiluba", | ||
"Letón", | ||
"Malgache", | ||
"Marshalés", | ||
"Maorí", | ||
"Macedonio", | ||
"Malabar", | ||
"Mongol", | ||
"Marathí", | ||
"Malayo", | ||
"Maltés", | ||
"Birmano", | ||
"Nauru", | ||
"Ndebele norte", | ||
"Nepalí", | ||
"Ndonga", | ||
"Neerlandés", | ||
"Nuevo Noruego", | ||
"Noruego", | ||
"Ndebele sur", | ||
"Navajo", | ||
"Chichewa", | ||
"Occitano", | ||
"Ojibwa", | ||
"Oromo", | ||
"Oriya", | ||
"Osetio", | ||
"Panyabí", | ||
"Pali", | ||
"Polaco", | ||
"Pastún", | ||
"Portugués", | ||
"Quechua", | ||
"Romanche", | ||
"Rundi", | ||
"Rumano", | ||
"Ruso", | ||
"Kiñaruanda", | ||
"Sánscrito", | ||
"Sardo", | ||
"Sindi", | ||
"Sami septentrional", | ||
"Sango", | ||
"Cingalés", | ||
"Eslovaco", | ||
"Samoano", | ||
"Shona", | ||
"Somalí", | ||
"Albanés", | ||
"Serbio", | ||
"Suazi", | ||
"Sesoto", | ||
"Sondanés", | ||
"Sueco", | ||
"Swahili", | ||
"Tamil", | ||
"Télugu", | ||
"Takiyo", | ||
"Tailandés", | ||
"Tigriña", | ||
"Turcomano", | ||
"Tagalo", | ||
"Setsuana", | ||
"Tongoano", | ||
"Turco", | ||
"Tsonga", | ||
"Tártaro", | ||
"Tahitiano", | ||
"Uigur", | ||
"Ucraniano", | ||
"Urdu", | ||
"Uzbeko", | ||
"Venda", | ||
"Vietnamita", | ||
"Valón", | ||
"Wólof", | ||
"Xhosa", | ||
"Yidis", | ||
"Yoruba", | ||
"Zhuang", | ||
"Chino", | ||
"Zulú", | ||
] |
Oops, something went wrong.