language


languagestringRead-only

Retrieves a code representing the site's language.

The retrieved language code corresponds to the main site language as found in the General Info section of a site's dashboard.

Note: If you have a multilingual site, and it's being viewed in a language that's not the main site language, the language property still returns the main site language. To work with the languages of a multilingual site, use the Multilingual API.

Did this help?