diff --git a/apps/presentationeditor/mobile/src/index_dev.html b/apps/presentationeditor/mobile/src/index_dev.html
index 60a5d6523..7fb7b7aa2 100644
--- a/apps/presentationeditor/mobile/src/index_dev.html
+++ b/apps/presentationeditor/mobile/src/index_dev.html
@@ -65,7 +65,7 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
- window.Common = {Locale: {currentLang: lang}};
+ window.Common.Locale.currentLang = lang;
diff --git a/apps/spreadsheeteditor/mobile/src/index_dev.html b/apps/spreadsheeteditor/mobile/src/index_dev.html
index c4686125b..9fad9aaee 100644
--- a/apps/spreadsheeteditor/mobile/src/index_dev.html
+++ b/apps/spreadsheeteditor/mobile/src/index_dev.html
@@ -65,7 +65,7 @@
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
- window.Common = {Locale: {currentLang: lang}};
+ window.Common.Locale.currentLang = lang;