Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.11 KB

localised_content.rst

File metadata and controls

40 lines (32 loc) · 1.11 KB

Localised Content

The localised content data structure is a key-value string map.

text

Required. The GitHub Flavored Markdown message content string.

lang

Required. The language that text is written in, given as a code of the form ll or ll_CC, where ll is an ISO 639-1 language code and CC is an ISO 3166 country code. For example,

Language Code
Bulgarian bg
Chinese (Simplified) zh_CN
Czech cs
Danish da
English en
Finnish fi
French fr
German de
Italian it
Japanese ja
Korean ko
Polish pl
Portuguese pt_PT
Portuguese (Brazil) pt_BR
Russian ru
Spanish es
Swedish sv

Equality

Two localised content data structures are equal if all their fields are equal. Field equality is case-sensitive.