diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
index 5ea39be6a..2646704ae 100644
--- a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
+++ b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js
@@ -802,8 +802,8 @@ RED.subflow = (function() {
}
$("", opt).text(item.text).appendTo(locales);
});
- currentLocale = RED.i18n.lang();
- locales.val(currentLocale);
+ var locale = RED.i18n.lang();
+ locales.val(locale);
locales.on("change", function() {
currentLocale = $(this).val();
@@ -1371,7 +1371,8 @@ RED.subflow = (function() {
}
var labels = ui.label || {};
- var labelText = lookupLabel(labels, labels["en-US"]||tenv.name, currentLocale);
+ var locale = RED.i18n.lang();
+ var labelText = lookupLabel(labels, labels["en-US"]||tenv.name, locale);
var label = $('