Atom supports content in a number of languages.
Introduction
See the table below for supported language codes. The language code IS case sensitive.
lng (Language Code) | Description |
---|---|
en-US | United States English (default) |
pt-BR | Brazilian Portuguese |
Languages in hosted webviews
Forcing the language
When providing Atom content via a hosted webview, you can set the page language with the lng
query parameter. For example, to display the page content in Brazilian Portuguese, you can append ?lng=pt-BR
to the page URL. The most recently used language will be saved as a cookie for subsequent page views.
Default language
If the lng
parameter isn't used, the site will try to autodetect the language from the user's browser. If the detected language isn't available, en-US
is used by default.