Browse Source

fixes #2238 i18n not working reliably

Christoph Scholz 4 năm trước cách đây
mục cha
commit
5ea2ccfc17
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/headless/converse-core.js

+ 1 - 1
src/headless/converse-core.js

@@ -1534,7 +1534,7 @@ Object.assign(converse, {
 
         await initSessionStorage();
         initClientConfig();
-        i18n.initialize();
+        await i18n.initialize();
         initPlugins();
         registerGlobalEventHandlers();