Extension Localization

Searched the documentation and forums, but couldn’t find any relevant information.

Is there any support for detecting the viewer’s language to provide localized strings?

If not, is using navigator.language the recommended approach?

Including related terms for anyone searching:

  • internationalization - I18n
  • localization - L10n
  • locale
  • translation

You could use “standard” browser methods for language determination, like you describe.

Or you can use the query string language parameter: The user’s language setting

A language is passed in the Javascript Helper “onContext” function: but this is the stream/broadcaster selected language (so a gotcha)

Thank you for the answer. I think the query string parameter will work.