ComboStrap Page Metadata - Lang (Language)

About

The lang metadata is an language identifier that sets the language of a page

The format supported is the ISO 639-2 2 letters code.

Example:

The language identifier is used:

Since version 1.12

Demo

We have created a page in arabic that has a language direction from right-to-left (rtl)

See the demo page: صفحة تجريبية مكتوبة باللغة العربية

Set

The default value is set in the config:lang configuration.

You can set a lang code in the frontmatter for a specific page.

---json
{
    "lang":"nl"
}
---

Configuration

config:lang

The default value is set in the config:lang configuration.

RTL: Right to left language

As bootswatch does not support yet RTL languages, you need to set your Bootstrap version at minimal to 5 with the bootstrap theme.

Example with the version 5.01 - bootstrap:

Powered by ComboStrap