diff --git a/README.md b/README.md
index 6eb54a4e..8ec286db 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,10 @@ Node-RED Watson Nodes for IBM Cloud
+### New in version 0.9.4
+- Assistant V1 Workspace manager - Allow endpoint to be overridden through msg.params
+- Language Translator, Speech to Text, Text to Speech - Sort Languages in drop down select list.
+
### New in version 0.9.3
- Assistant V1 - Fix alternateIntents setting.
- Assistant V2 - Allow return of request session id.
diff --git a/package.json b/package.json
index a6da30e4..4f164b2f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-node-watson",
- "version": "0.9.3",
+ "version": "0.9.4",
"description": "A collection of Node-RED nodes for IBM Watson services",
"dependencies": {
"async": "^1.5.2",
diff --git a/services/assistant/v1-workspace-manager.html b/services/assistant/v1-workspace-manager.html
index 60d56705..55b0a2a4 100644
--- a/services/assistant/v1-workspace-manager.html
+++ b/services/assistant/v1-workspace-manager.html
@@ -356,6 +356,9 @@
msg.params.apikey
+
+ msg.params.endpoint
+
msg.params.workspace_id
diff --git a/services/language_translator/v3-doc.html b/services/language_translator/v3-doc.html
index 00f61027..7d16eae4 100644
--- a/services/language_translator/v3-doc.html
+++ b/services/language_translator/v3-doc.html
@@ -216,6 +216,7 @@
'bn' : 'Bengali',
'bs' : 'Bosnian',
'bg' : 'Bulgarian',
+ 'CA-en' : 'Canadian English',
'ca' : 'Catalan',
'cs' : 'Czech',
'da' : 'Danish',
@@ -450,6 +451,8 @@
var input_lang_unique = input_lang.filter(tor.checkUnique);
//var output_lang_unique = output_lang.filter(tor.checkUnique);
+ input_lang_unique.sort();
+
input_lang_unique.forEach(function(lang){
var selectedText = '';
@@ -483,6 +486,8 @@
var available_destlang = pair_lang.filter(function (model_id) {
return model_id.match('^' + doctor.srclang_selected + '-');
});
+
+ available_destlang.sort();
available_destlang.forEach(function (val) {
// can now have languages like zh-TW, so simple split on -
diff --git a/services/language_translator/v3.html b/services/language_translator/v3.html
index 3f04b6a3..d8c97dcc 100644
--- a/services/language_translator/v3.html
+++ b/services/language_translator/v3.html
@@ -234,6 +234,7 @@
'bn' : 'Bengali',
'bs' : 'Bosnian',
'bg' : 'Bulgarian',
+ 'CA-en' : 'Canadian English',
'ca' : 'Catalan',
'cs' : 'Czech',
'da' : 'Danish',
@@ -398,6 +399,8 @@
// Flush out the list first
$('select#node-input-destlang').empty();
+ available_destlang.sort();
+
available_destlang.forEach(function (val) {
// can now have languages like zh-TW, so simple split on -
// no longer works.
@@ -619,6 +622,7 @@
// Flush out the List before repopulating it.
$('select#node-input-srclang').empty();
+ input_lang_unique.sort();
input_lang_unique.forEach(function(lang){
var selectedText = '';
diff --git a/services/speech_to_text/v1.html b/services/speech_to_text/v1.html
index 8f90f230..3ccbae24 100644
--- a/services/speech_to_text/v1.html
+++ b/services/speech_to_text/v1.html
@@ -559,6 +559,8 @@
$('select#node-input-lang').empty();
var unique_langs = stt.languages.filter(stt.onlyUnique);
+ unique_langs.sort();
+
unique_langs.forEach(function(l) {
var selectedText = '';
if (stt.language_selected === l) {
diff --git a/services/text_to_speech/v1.html b/services/text_to_speech/v1.html
index 7b7990a1..e7ee30e3 100644
--- a/services/text_to_speech/v1.html
+++ b/services/text_to_speech/v1.html
@@ -153,6 +153,8 @@
$('select#node-input-lang').empty();
var unique_langs = tts.languages.filter(tts.onlyUnique);
+ unique_langs.sort();
+
unique_langs.forEach(function(l) {
var selectedText = '';
if (tts.language_selected === l) {