diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 809bdb02e1..67ae09f360 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -610,8 +610,10 @@ getService(Components.interfaces.nsIIOService); var uri = ios.newURI("resource://zotero/tinymce/" + htmlFile + ".html", null, null); - // Pass directionality (LTR/RTL) in URL - uri.spec += "?dir=" + Zotero.dir; + // Pass directionality (LTR/RTL) and locale in URL + uri.spec += "?locale=" + encodeURIComponent(Zotero.locale) + + "&dir=" + Zotero.dir; + Zotero.debug("Loading " + uri.spec); diff --git a/resource/tinymce/integration.html b/resource/tinymce/integration.html index 3984b4e36b..69f59e96ee 100644 --- a/resource/tinymce/integration.html +++ b/resource/tinymce/integration.html @@ -22,6 +22,7 @@ html, body { + + +