Skip to content

Commit 8ef07a7

Browse files
author
Paul Dempsey
authored
Use consistent language + script naming convention
The Detect languages table is apparently showing Translator system-internal names with underscores, rather than the actual language names. The edit changes these to proper language names according to the convention. this clarifies the ambiguity in "Haitian_Creole" -- where "Creole" is part of the name, not a script as it is in other identifiers. I would ask that for consistency, you also show the language codes that the Detect API returns for all of these. I assume that the API returns proper ISO codes, and not these internal ids with underscores.
1 parent 7f04f0a commit 8ef07a7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/cognitive-services/Translator/languages.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ The following languages can be detected by the Detect() method. Detect () may de
139139
| Bulgarian |
140140
| Catalan |
141141
| Chinese |
142-
| Chinese_Simplified |
143-
| Chinese_Traditional |
142+
| Chinese (Simplified) |
143+
| Chinese (Traditional) |
144144
| Croatian |
145145
| Czech |
146146
| Danish |
@@ -153,7 +153,7 @@ The following languages can be detected by the Detect() method. Detect () may de
153153
| Galician |
154154
| German |
155155
| Greek |
156-
| Haitian_Creole |
156+
| Haitian Creole |
157157
| Hebrew |
158158
| Hindi |
159159
| Hungarian |
@@ -163,24 +163,24 @@ The following languages can be detected by the Detect() method. Detect () may de
163163
| Italian |
164164
| Japanese |
165165
| Korean |
166-
| Kurdish_Arabic |
167-
| Kurdish_Latin |
166+
| Kurdish (Arabic) |
167+
| Kurdish (Latin) |
168168
| Latin |
169169
| Latvian |
170170
| Lithuanian |
171171
| Macedonian |
172172
| Malay |
173173
| Maltese |
174174
| Norwegian |
175-
| Norwegian_Nynorsk |
175+
| Norwegian (Nynorsk) |
176176
| Pashto |
177177
| Persian |
178178
| Polish |
179179
| Portuguese |
180180
| Romanian |
181181
| Russian |
182-
| Serbian_Cyrillic |
183-
| Serbian_Latin |
182+
| Serbian (Cyrillic) |
183+
| Serbian (Latin) |
184184
| Slovak |
185185
| Slovenian |
186186
| Somali |
@@ -192,8 +192,8 @@ The following languages can be detected by the Detect() method. Detect () may de
192192
| Turkish |
193193
| Ukrainian |
194194
| Urdu |
195-
| Uzbek_Cyrillic |
196-
| Uzbek_Latin |
195+
| Uzbek (Cyrillic) |
196+
| Uzbek (Latin) |
197197
| Vietnamese |
198198
| Welsh |
199199
| Yiddish |

0 commit comments

Comments
 (0)