[#444] How do you change the widget language?

Migrated from Redmine #444 | Author: Arian Hojat
Status: New | Priority: Normal | Created: 2019-11-14


We embed and use the widget to pre-select a provider for scheduling in our web-app.
We’d like to start using it for our international users/patients as well.
For our international sites, we want the widget translated if possible.
There seems to be a translation area for UI items in SimplyBook.me (in the simplybook.me/settings/translations area).

Is there anyway that the widget switches to the user’s language?
and/or
a way to force it with the embed JS code (since we’ll know the user’s lang preference in our web app already)?

Redmine Admin wrote:

there is no way to do this. Only one translation per company account is possible now

Arian Hojat wrote:

Redmine Admin wrote:

there is no way to do this. Only one translation per company account is possible now

Hey, just curious, where would I set the company account’s language to use then? Me and my boss were looking for it in the SimplyBook Admin areas and couldn’t find.

Redmine Admin wrote:

Please go to Settings → Custom wording & translations

Arian Hojat wrote:

Redmine Admin wrote:

Please go to Settings → Custom wording & translations

ok, so we already did that before. We clicked on French Button in the right-side nav. We see the french translations show up on the Admin page. There is nothing to do here, I assume clicking the button sets the accounts language?
If i visit my widget, it still shows english. Pic attached of my widget.

Arian Hojat wrote:

Quick Note:
This is me testing this out in my test ‘arian’ company account (not in the ‘globalaes’ prod account as I dont want to switch everything to french for our real patients right now).

Widget code looks like this:

...

Redmine Admin wrote:

Please contact our Live help with any issues not related to API. This support channel is for API questions only