ComboStrap Page Metadata - Lang (Language)

1 - 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:

  • en (English),
  • fr (French)
  • nl (Dutch)

The langue identifier is used in the locale to localize the page.

Since version 1.12

3 - 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"
}
---

4 - Configuration

4.1 - config:lang

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

Powered by ComboStrap