olark('api.box.setLocale', 'en-US')

Notes

You can dynamically change the chatbox language after the page has loaded. By using this call the default localization strings provided by Olark will be used and will override any text you have set in the Text & Forms dashboard. This call, however, will not override any language configuration calls like olark.configure('locale.welcome_title', 'Foo'), the string provided by that call always takes highest priority.

You can see a list of languages we support here.

Screenshot of API call