chg: [translation] list of sane default for the languages + type of translation

pull/207/head
Alexandre Dulaunoy 2019-09-20 07:30:30 +02:00
parent 00cf5aa98e
commit 52e8f9e98b
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 213 additions and 3 deletions

View File

@ -1,4 +1,12 @@
{
"requiredOneOf": [
"original-text",
"translated-text",
"original-text",
"original-language",
"translation-language",
"translation-type"
],
"attributes": {
"original-text": {
"description": "Original text",
@ -13,17 +21,219 @@
"original-language": {
"description": "Language of the original text",
"ui-priority": 1,
"misp-attribute": "text"
"misp-attribute": "text",
"sane_default": [
"Mandarin (language family)",
"Spanish",
"English",
"Hindi",
"Bengali",
"Portuguese",
"Russian",
"Japanese",
"Western Punjabi",
"Marathi",
"Telugu",
"Wu (language family)",
"Turkish",
"Korean",
"French",
"German",
"Vietnamese",
"Tamil",
"Yue (language family)",
"Urdu",
"Javanese",
"Italian",
"Egyptian Arabic",
"Gujarati",
"Iranian Persian",
"Bhojpuri",
"Min Nan (language family)",
"Hakka",
"Jinyu",
"Hausa",
"Kannada",
"Indonesian (Indonesian Malay)",
"Polish",
"Yoruba",
"Xiang Chinese (language family)",
"Malayalam",
"Odia",
"Maithili",
"Burmese",
"Eastern Punjabi",
"Sunda",
"Sudanese Arabic",
"Algerian Arabic",
"Moroccan Arabic",
"Ukrainian",
"Igbo",
"Northern Uzbek",
"Sindhi",
"North Levantine Arabic",
"Romanian",
"Tagalog",
"Dutch",
"Saʽidi Arabic",
"Gan",
"Amharic",
"Northern Pashto",
"Magahi",
"Thai",
"Saraiki",
"Khmer",
"Chhattisgarhi",
"Somali",
"Malay (Malaysian Malay)",
"Cebuano",
"Nepali",
"Mesopotamian Arabic",
"Assamese",
"Sinhala",
"Northern Kurdish",
"Hejazi Arabic",
"Nigerian Fulfulde",
"South Azerbaijani",
"Greek",
"Chittagonian",
"Kazakh",
"Deccan",
"Hungarian",
"Kinyarwanda",
"Zulu",
"South Levantine Arabic",
"Tunisian Arabic",
"Sanaani Spoken Arabic",
"Min Bei Chinese (language family)",
"Southern Pashto",
"Rundi",
"Czech",
"Taʽizzi-Adeni Arabic",
"Uyghur",
"Min Dong Chinese (language family)",
"Sylheti "
]
},
"translation-language": {
"description": "Language of translation",
"ui-priority": 1,
"misp-attribute": "text"
"misp-attribute": "text",
"sane_default": [
"Mandarin (language family)",
"Spanish",
"English",
"Hindi",
"Bengali",
"Portuguese",
"Russian",
"Japanese",
"Western Punjabi",
"Marathi",
"Telugu",
"Wu (language family)",
"Turkish",
"Korean",
"French",
"German",
"Vietnamese",
"Tamil",
"Yue (language family)",
"Urdu",
"Javanese",
"Italian",
"Egyptian Arabic",
"Gujarati",
"Iranian Persian",
"Bhojpuri",
"Min Nan (language family)",
"Hakka",
"Jinyu",
"Hausa",
"Kannada",
"Indonesian (Indonesian Malay)",
"Polish",
"Yoruba",
"Xiang Chinese (language family)",
"Malayalam",
"Odia",
"Maithili",
"Burmese",
"Eastern Punjabi",
"Sunda",
"Sudanese Arabic",
"Algerian Arabic",
"Moroccan Arabic",
"Ukrainian",
"Igbo",
"Northern Uzbek",
"Sindhi",
"North Levantine Arabic",
"Romanian",
"Tagalog",
"Dutch",
"Saʽidi Arabic",
"Gan",
"Amharic",
"Northern Pashto",
"Magahi",
"Thai",
"Saraiki",
"Khmer",
"Chhattisgarhi",
"Somali",
"Malay (Malaysian Malay)",
"Cebuano",
"Nepali",
"Mesopotamian Arabic",
"Assamese",
"Sinhala",
"Northern Kurdish",
"Hejazi Arabic",
"Nigerian Fulfulde",
"South Azerbaijani",
"Greek",
"Chittagonian",
"Kazakh",
"Deccan",
"Hungarian",
"Kinyarwanda",
"Zulu",
"South Levantine Arabic",
"Tunisian Arabic",
"Sanaani Spoken Arabic",
"Min Bei Chinese (language family)",
"Southern Pashto",
"Rundi",
"Czech",
"Taʽizzi-Adeni Arabic",
"Uyghur",
"Min Dong Chinese (language family)",
"Sylheti "
]
},
"translation-service": {
"description": "translation service used for the translation",
"ui-priority": 1,
"misp-attribute": "text"
"misp-attribute": "text",
"sane_default": [
"Google Translate",
"Microsoft Translator",
"Babelfish",
"Reverso",
"Dict.cc",
"Linguee",
"unknown"
]
},
"translation-type": {
"description": "type of translation",
"ui-priority": 1,
"misp-attribute": "text",
"sane_default": [
"Automated translation",
"Manual translation"
]
}
},
"version": 1,