> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: siteSite.language() # Method Link: https://dev.wix.com/docs/sdk/frontend-modules/site/language.md # Method Description: 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](https://support.wix.com/en/article/about-your-wix-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. # Method Permissions: # Method Permissions Scopes IDs: undefined # Method Code Examples: ## Get the site's language ```javascript import { site } from '@wix/site-site'; // ... const language = await site.language(); // "en" ```