> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superintern.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Languages

> Put your SuperIntern website in more than one language: SuperIntern translates every page, your products and other CRM items, and keeps the translations up to date when you publish.

Your website can speak your customers' languages. Add a language and SuperIntern translates every page for you; visitors switch between languages from the menu, and search engines show each visitor the right one.

## Add a language

**1. Open Languages**

Open your website's **Settings** tab and go to **Languages**. Click **Add a language**.

**2. Choose the language**

Pick it from the list. You see about how many credits it will take before you start, charged like any change you ask SuperIntern for.

Tick **Translate your products and other CRM items too** to translate the names and text of the public items your website shows, such as your products or your menu.

**3. Look, then publish**

SuperIntern translates every page, blog post and page about your services, and adds the language to your menu. Names, prices, addresses, phone numbers and opening hours stay exactly as you wrote them. Look at the new pages in the preview, then publish: nothing goes online by itself.

You can add any of 31 languages, including Arabic and Hebrew, whose pages read from right to left.

## Keeping translations up to date

> [!NOTE]
>
> Keeping translations up to date, and **Words and tone**, are rolling out and may not be on your account yet.

* **Update translations when you publish**: before your changes go live, SuperIntern brings the pages in your other languages up to date, so every language says the same thing. It's charged like any change you ask for, up to a few times a week; after that, your changes go live and the pages are marked as behind.
* **Languages** shows each language as **Up to date**, or how many of its pages are behind. **Bring up to date** translates what changed.
* **Words and tone**: list the words that stay the same in every language (your brand, your product names), and add notes such as *"speak to customers informally"*. SuperIntern follows them whenever it translates your CRM items.

## What visitors see in their language

* **Your pages** and your translated CRM items, at addresses that start with the language's code, such as `/es/menu`.
* **Sign-in, My account, the cart, forms and search**, already worded in every language you can add.
* **Your website chat**: ask the builder to translate the chat's greeting and suggested questions too.

## For builders

* The main language is served at `/`, set as `locale` in `src/site.config.ts`. Each other language is listed under `translations` (its description, its `nav`, and optionally its `chat`), lives in `src/pages/<code>/` with matching paths, and has its own entry in `src/lib/ui-text.ts`: copy `en` and translate every word, since a word left in English stays English.
* The kit's own parts (the cart, forms, sign-in, My account, search, the cookie question) have their words in 31 languages: ar, cs, da, de, el, en, es, fi, fr, he, hi, hu, id, it, ja, ko, ms, nl, no, pl, pt, pt-br, ro, ru, sv, th, tr, uk, vi, zh, zh-hant. A word in the site's `ui-text.ts` wins; any it lacks comes from the kit. Use `pageText(lang)` in a page's frontmatter, and pass words to a React component as props.
* **CRM rows in a language**: `loadRows(Astro, "products", "es")`. Names and text columns come translated where the item has a translation, in the main language where it hasn't; slugs, prices and pictures are the same in every language.
* **Blog posts and pages** in a language go in a folder named for it, with the same file name as the original (`src/content/pages/es/boilers.md`): see [Blog, Pages, Search and Media](https://docs.superintern.ai/websites/pages-and-media.md#blog-posts-and-pages).
* **Right to left**: an Arabic or Hebrew (or Persian, Urdu) page gets `dir="rtl"` from the kit. In the site's own sections use the logical classes (`ms-`, `me-`, `ps-`, `pe-`, `text-start`, `border-s`) rather than `ml-`, `pl-`, `left-` or `text-left`, so they turn with the page.
* **The chat in each language**: under `translations.<code>.chat`, any of `name`, `greeting`, `questions`, `placeholder`, `label`, `contactForm`, `privacy`, `disclaimer` and `feedback`. Each one given replaces the main language's whole (a translated `contactForm` lists all its fields again).
* Links in a translated page go to that language's own pages where it has them (`/es/contact`, not `/contact`): `npm run check` names any that don't.

The full detail is in the site kit's guide (`npx site-kit guide`), "Using the kit" and section 2.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.