Newer Version Available
Set Right-to-Left Language Layout
This parameter is included in your generated code snippet and set to
English for versions 5.0 and later. To enable right-to-left layout enhancements in Chat, set
the two-letter value to the supported language in your code snippet.
embedded_svc.settings.language = ".."
There are other settings to take care of to make sure that translation works properly. Use the Salesforce Help for guidance.