Open Jasminelau07 opened 1 year ago
@Jasminelau07 It should be working.
Please submit the bug report to the Intercom support including the details like Intercom SDK version, platform, etc.
Hi @deepak786
I tried on your example as well and it works for French (i.e. Intercom.instance.updateUser(language: 'fr');
), but not work for Tradition Chinese (i.e. Intercom.instance.updateUser(language: 'zh-TW');
)
class SampleApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Intercom example app'),
),
body: Center(
child: TextButton(
onPressed: () {
// NOTE:
// Messenger will load the messages only if the user is registered
// in Intercom.
// Either identified or unidentified.
// So make sure to login the user in Intercom first before opening
// the intercom messenger.
// Otherwise messenger will not load.
Intercom.instance.loginUnidentifiedUser();
Intercom.instance.updateUser(language: 'zh-TW');
Intercom.instance.displayMessenger();
},
child: Text('Show messenger'),
),
),
),
);
}
}
Thanks
@Jasminelau07 I have reported this issue to Intercom and they identified it. Now we have to wait until it gets resolved from their end.
How to set welcome message with different languages? I used intercom_flutter for my Flutter app, and updated the language using intercom.updateUser(language: 'zh-TW');
Before: en
After: zh-TW
which the Hello Jasmine should be replaced to 您好👋
as follows:
Please help
Thanks a lot🙏