fix: Add preference to choose browser lang for widget settings page (#5726)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Nithin David Thomas
2022-10-26 03:34:29 +05:30
committed by GitHub
parent bcde84b5b5
commit abe439594e
3 changed files with 22 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ window.chatwootSettings = {
hideMessageBubble: false,
position: '<%= @widget_position %>',
locale: 'en',
useBrowserLanguage: true,
type: '<%= @widget_type %>',
showPopoutButton: true,
widgetStyle: '<%= @widget_style %>',