-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I just added e2779e1 that should fix this this when using converse files from cdn (you don't have |
Beta Was this translation helpful? Give feedback.
-
Are you sure 22.05 worked correctly? I think the problem is that mod_conversejs.erl sets the option i18n for Conversejs. And when that is set, the browser language is not considered... because i18n option is enforced! That was introduced in f461bcb I've just committed a fix in daaaf22, simply removing the line that set i18n option. In your case, you have simple solutions that don't require compiling ejabberd: A) Set i18n option to "ru", but remember this language will be enforced to all users: modules:
mod_conversejs:
conversejs_options:
i18n: ru B) Or set i18n option to some dummy and non-existing language, that way Converse will use the browser language of the user: modules:
mod_conversejs:
conversejs_options:
i18n: dummy |
Beta Was this translation helpful? Give feedback.
Are you sure 22.05 worked correctly?
I think the problem is that mod_conversejs.erl sets the option i18n for Conversejs. And when that is set, the browser language is not considered... because i18n option is enforced! That was introduced in f461bcb
I've just committed a fix in daaaf22, simply removing the line that set i18n option.
In your case, you have simple solutions that don't require compiling ejabberd:
A) Set i18n option to "ru", but remember this language will be enforced to all users:
B) Or set i18n option to some dummy and non-existing language, that way Converse will use the browser language of the user:
modules: