Setting locale error with i18n in converse.js

78 Views Asked by At

i have built the converse.js files according to the steps in option 3 in this link: https://conversejs.org/docs/html/quickstart.html Then i had the JavaScript and CSS files in Dist directory. I saved the dist directory in my webpage root directory. Then i added the JavaScript and CSS filed to the head section of the index page. I also initialized the converse.js in the bottom section of the index page. Everything worked perfect with this integration.

I also changed the locale to different languages which can be found in '/dist/locale' directory. I am able to change the locale to all the 39 languages except one: 'ug'. This is a new language which i have translated recently.

When i set i18n to 'ug', the converse.js is in English which is failure in the setting. Then i looked at the browser console to see if there is any errors. I found the following errors for the issue:

 FATAL: Cannot find module './ug.js' log.js:68:19
    log log.js:68
    fatal log.js:93
    initialize index.js:121
    initialize core.js:574
    initialize converse.js:53
    initialize entry.js:31
    <anonymous> index.html:57

can anybody knows how to solve the issue? Thanks

I expect to see the converse.js in Uyghur lanugage.

0

There are 0 best solutions below