Languages and translations

The Blend Widgets are designed to be multilingual. All the widgets have UI translations for English and Norwegian. The widgets use the HTML lang attribute to determine which language to use.

To present the widgets in Norwegian you should ensure the HTML document looks like this:

<html lang="no">
  ...
</html>

We support the following language codes:

LanguageCodes
Englishen, en-US
Norwegianno, nb, nb-NO

If an unknown language code is used the widgets will default to English.

We are following the language syntax outlined in this document: https://datatracker.ietf.org/doc/html/rfc5646#section-2.1

Content translations

Blend customers can write content in multiple languages in Blend App. The widgets will automatically use the content in the language that matches the HTML lang attribute. This is done by passing the language code specified by your HTML lang tag to the Blend API when we request product metadata. If the content is not available in the specified language Blend will fall back to the default language (probably English).

Checkout language

The lang attribute is also used to determine which language to use in the checkout. For example if the lang attribute is set to no the Nets checkout widget will be presented in Norwegian. The language is also passed to the Blend API so that the booking confirmation email is sent in the correct language. Currently we only support English and Norwegian for booking confirmation emails.