Skip to content

Multilingual

Composition of language tags

Example in English

  • Lang Code: en
  • Area Code: US
  • Area Code: GB
RowsLang CodeArea CodeW3C Language tags
1enen
2enUSen-US
3enGBen-GB

The above three records are not considered duplicates, and the duplication criteria are based on the W3C Language tags.

Multi-language configuration

Key NameData TypeDescription
language_statusbooleanWhether to enable multilingualism
language_menusarrayMultilingual configuration list
default_languagestringDefault Language

Multilingual data format

Database multilingual column type is json

json
{
    "{langTag}": "Language Content",
    "en": "Content Information"
}

Released under the Apache-2.0 License