Bear docs

Language cheatsheet

The blog language can be updated in Settings in your blog dashboard by changing the Language attribute.

Each page/post can have a different lang attribute set in the header. This will automatically default to the blog language.

Use a language code, and add a region if you need one (eg: pt-BR for Portuguese in Brazil). These are the most common codes:

CODE      LANGUAGE
--------------------------------
ar        Arabic
bn        Bengali
ca        Catalan
cs        Czech
da        Danish
de        German
el        Greek
en        English
en-GB     English (United Kingdom)
en-US     English (United States)
es        Spanish
es-MX     Spanish (Mexico)
fa        Persian
fi        Finnish
fr        French
fr-CA     French (Canada)
he        Hebrew
hi        Hindi
hu        Hungarian
id        Indonesian
it        Italian
ja        Japanese
ko        Korean
nb        Norwegian (Bokmål)
nl        Dutch
pl        Polish
pt        Portuguese
pt-BR     Portuguese (Brazil)
pt-PT     Portuguese (Portugal)
ro        Romanian
ru        Russian
sv        Swedish
th        Thai
tr        Turkish
uk        Ukrainian
vi        Vietnamese
zh-CN     Chinese (Simplified)
zh-TW     Chinese (Traditional)

Can't see your language? Look it up in the IANA language subtag registry.