Closed jalbertsr closed 1 year ago
shouldn't this line https://github.com/chatwoot/chatwoot-react-native-widget/blob/develop/src/WebView.js#L37
let widgetUrl = `${baseUrl}/widget?website_token=${websiteToken}&locale=en`;
be like:
let widgetUrl = `${baseUrl}/widget?website_token=${websiteToken}&locale=${locale}`;
notice I'm using the locale prop now, instead of hardcoded en locale.
locale
en
shouldn't this line https://github.com/chatwoot/chatwoot-react-native-widget/blob/develop/src/WebView.js#L37
be like:
notice I'm using the
locale
prop now, instead of hardcodeden
locale.