Question

Unable to update contact's 'language_override' value

  • 31 August 2022
  • 1 reply
  • 25 views

  • New Participant
  • 0 replies

Hi

I'm trying to update 'language_override' value during the user preference update event, but I couldn't see any changes even after calling the APIs.

 

Is there any other way to update the field?

 

Thanks


1 reply

Userlevel 4
Badge

Hey @ahum​ Racheal from the Support Engineer team here 👋

 

It is possible to update the language_override attribute by calling the Javascript function, update. Here's a quick example:

Intercom('update', { language_override: "EN" }) This will update the users profile, so the next time this visit your site the Messenger will be presented in their language of choice, presuming you have it added as a supported language.

 

You can also explicitly update it when creating or updating a user through your code or update the attribute via the REST API.

Reply