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.
Keeping translations up to date
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 aslocaleinsrc/site.config.ts. Each other language is listed undertranslations(its description, itsnav, and optionally itschat), lives insrc/pages/<code>/with matching paths, and has its own entry insrc/lib/ui-text.ts: copyenand 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.tswins; any it lacks comes from the kit. UsepageText(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. - 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 thanml-,pl-,left-ortext-left, so they turn with the page. - The chat in each language: under
translations.<code>.chat, any ofname,greeting,questions,placeholder,label,contactForm,privacy,disclaimerandfeedback. Each one given replaces the main language’s whole (a translatedcontactFormlists 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 checknames any that don’t.
npx site-kit guide), “Using the kit” and section 2.
