-
- Downloads
[FIX] im_livechat: display chatbot in website or user language
Steps to reproduce:
- Install the module `crm_livechat`
- Activate another language (e.g. fr_FR)
- Open a new incognito window and go to the website
- On website, switch to the activated language
- Open contact page
- Open the chatbot
Issue:
The chatbot is displayed in `en_US`.
Cause:
The chatbot is displayed in the current user language (not website
language).
Public user have by default `en_US` as language.
Solution:
Retrieve the chatbot with the website activated language if set,
otherwise, retrieve the chatbot in the user language.
Fallback on `en_US`.
opw-3284807
closes odoo/odoo#126341
Signed-off-by:
Matthieu Stockbauer (tsm) <tsm@odoo.com>
Please register or sign in to comment