Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization not possible with module #8

Open
RVanDamage opened this issue Jun 17, 2022 · 0 comments
Open

Localization not possible with module #8

RVanDamage opened this issue Jun 17, 2022 · 0 comments

Comments

@RVanDamage
Copy link

Hi there,

We would like to change language accordingly with front-end language.
https://docs.smartsupp.com/chat-box/localization/

However this does not seem to be possible with the PrestaShop module.

We analyzed the code of the module a bit and it looks like the header code is built by some ChatGenerator. This ChatGenerator has some functions, like setPlatform, setCookieDomain, setVariable (for customer name, order parameters etc.). Those functions are used in the module. ChatGenerator also has a setLanguage function inside, but it seems the module is not using it. It should not be hard to add it to the module, but I think it's the author's job, otherwise any change made by me will be overwritten by any update of the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant