Skip to content

Commit 684d327

Browse files
committed
Update language lists
1 parent 3c3da64 commit 684d327

5 files changed

Lines changed: 39 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ During the migration there will be a dependancy on both modules.
2525
- Drop faces detect option from Visual Recognition V3 node.
2626
- Fix to URL parsing for bound services.
2727
- STT token manager no longer in ibm-cloud-sdk-core
28+
- Update language lists for STT, TTS, Language Translator and Document Translator Nodes
2829

2930
### Watson Nodes for Node-RED
3031
A collection of nodes to interact with the IBM Watson services in [IBM Cloud](http://bluemix.net).

services/language_translator/v3-doc.html

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
</p>
192192

193193
<br/><br/>
194-
194+
195195
<p>For more information about the Language Translator service, read the
196196
<a href="https://console.bluemix.net/docs/services/language-translator/index.html">
197197
documentation</a>.
@@ -217,35 +217,44 @@
217217

218218
doctor.LANGUAGES = { 'ar' : 'Arabic',
219219
'arz': 'Spoken Arabic',
220+
'bg' : 'Bulgarian',
220221
'ca' : 'Catalan',
221222
'cs' : 'Czech',
222223
'da' : 'Danish',
223-
'en' : 'English' ,
224+
'el' : 'Greek',
225+
'en' : 'English',
224226
'es' : 'Spanish',
227+
'et' : 'Estonian',
225228
'fr' : 'French',
226229
'fi' : 'Finnish',
230+
'ga' : 'Galican',
231+
'he' : 'Hebrew',
227232
'hi' : 'Hindi',
233+
'hr' : 'Croatian',
228234
'hu' : 'Hungarian',
235+
'id' : 'Indonesian',
229236
'it' : 'Italian',
230237
'de' : 'German',
231238
'ja' : 'Japanese',
239+
'lt' : 'Lithuanian',
240+
'ms' : 'Malay',
232241
'pt' : 'Portuguese',
233242
'ko' : 'Korean',
234243
'nb' : 'Norwegian Bokmål',
235244
'nl' : 'Dutch',
236245
'pl' : 'Polish',
246+
'ro' : 'Romanian',
237247
'ru' : 'Russian',
248+
'sk' : 'Slovak',
249+
'sl' : 'Slovenian',
238250
'sv' : 'Swedish',
251+
'th' : 'Thai',
239252
'tr' : 'Turkish',
240253
'zh' : 'Chinese',
241254
'zh-TW' : 'Taiwanese',
242255
'zht' : 'Traditional Chinese'
243256
};
244257

245-
246-
247-
248-
249258
doctor.showSelectedFields = function(fields) {
250259
for (i = 0; i < fields.length; i++) {
251260
$(fields[i]).parent().show();
@@ -488,7 +497,7 @@
488497
+ '"' + lang + '"'
489498
+ selectedText
490499
+ '>'
491-
+ (tor.LANGUAGES[lang] ? tor.LANGUAGES[lang] : lang)
500+
+ (doctor.LANGUAGES[lang] ? doctor.LANGUAGES[lang] : lang)
492501
+ '</option>');
493502
});
494503
}

services/language_translator/v3.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,25 +228,38 @@
228228

229229
tor.LANGUAGES = { 'ar' : 'Arabic',
230230
'arz': 'Spoken Arabic',
231+
'bg' : 'Bulgarian',
231232
'ca' : 'Catalan',
232233
'cs' : 'Czech',
233234
'da' : 'Danish',
234-
'en' : 'English' ,
235+
'el' : 'Greek',
236+
'en' : 'English',
235237
'es' : 'Spanish',
238+
'et' : 'Estonian',
236239
'fr' : 'French',
237240
'fi' : 'Finnish',
241+
'ga' : 'Galican',
242+
'he' : 'Hebrew',
238243
'hi' : 'Hindi',
244+
'hr' : 'Croatian',
239245
'hu' : 'Hungarian',
246+
'id' : 'Indonesian',
240247
'it' : 'Italian',
241248
'de' : 'German',
242249
'ja' : 'Japanese',
250+
'lt' : 'Lithuanian',
251+
'ms' : 'Malay',
243252
'pt' : 'Portuguese',
244253
'ko' : 'Korean',
245254
'nb' : 'Norwegian Bokmål',
246255
'nl' : 'Dutch',
247256
'pl' : 'Polish',
257+
'ro' : 'Romanian',
248258
'ru' : 'Russian',
259+
'sk' : 'Slovak',
260+
'sl' : 'Slovenian',
249261
'sv' : 'Swedish',
262+
'th' : 'Thai',
250263
'tr' : 'Turkish',
251264
'zh' : 'Chinese',
252265
'zh-TW' : 'Taiwanese',

services/speech_to_text/v1.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,15 @@
233233
'en-GB': 'UK English',
234234
'de-DE': 'German',
235235
'fr-FR': 'French',
236+
'nl-NL': 'Dutch',
237+
'it-IT': 'Italian',
236238
'zh-CN': 'Mandarin',
237239
'es-ES': 'Spanish',
240+
'es-CO': 'Spanish (Columbian)',
241+
'es-MX': 'Spanish (Mexican)',
242+
'es-CL': 'Spanish (Chilean)',
243+
'es-AR': 'Spanish (Argentinian)',
244+
'es-PE': 'Spanish (Peruvian)',
238245
'ar-AR': 'Arablic',
239246
'ko-KR': 'Korean',
240247
'ja-JP': 'Japanese'

services/text_to_speech/v1.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
'fr-FR': 'French',
131131
'it-IT': 'Italian',
132132
'de-DE': 'German',
133+
'nl-NL': 'Dutch',
133134
'zh-CN': 'Mandarin',
134135
'es-ES': 'Spanish',
135136
'es-LA': 'Latin American Spanish',

0 commit comments

Comments
 (0)