Skip to content

Languages

Overview

Lunar supports multiple languages. By default, Lunar is set to install a default language of "en" (English). However, this can be changed to whatever language you would like to use.

Languages allow data in Lunar models to be translated, such as attributes on Products and Collections.

Model

FieldDescription
codeTypically the ISO 2 character language code, e.g. en
nameDescriptive name, e.g. English
defaultA boolean specifying the default language for Lunar

WARNING

There should only ever be one default language. Setting more than one language as default will likely break stuff!