Skip to content

Ejabberd 22.10 mod_conversejs #3951

Answered by badlop
AndreyKaO asked this question in Questions
Discussion options

You must be logged in to vote

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:
  

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AndreyKaO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants