tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
405 stars 279 forks source link

'pt' language for Messenger doesn't work in Android #341

Closed mrmello closed 2 years ago

mrmello commented 4 years ago

Hi, I've got the multiple languages to work for iOS (en, de, it, pt) but can't get pt to work even though en, de and it work just fine in Android.

This is how I fire Intercom:

Intercom.registerIdentifiedUser({ userId: profile.email });
Intercom.updateUser({ email: profile.email, language_override: intl.locale });
Intercom.displayConversationsList();

Tried passing language_override as pt, pt-BR and pt-PT but no luck on Android.

All the languages are set in Intercom Settings dashboard and pt works for iOS and even for Web (same Intercom key).

Any idea on how to get pt | pt-BR | pt-PT working in Android? It always falls back to default which is en.

Thanks in advance!