Translating a page
Create the missing language version of a page with Norcube AI. LangSync writes the translation, you review it side by side, and nothing is published until you publish.
On a site in several languages, a page that exists in Czech only can get its English version in one request. Norcube AI prepares it, you see the original and the translation side by side, and confirming creates the English page as a page that is not published yet.
It works for collections whose schema says how language versions are linked. See Language versions for the one line to add.
Only a published page can be translated, and the translation is made from its published text. A page that is not published yet is refused, and unpublished changes of the original are not part of the translation: publish them first if they should be.
Asking for a translation
Open the page in the editor and ask Norcube AI:
- "Translate this page to English."
- "Translate this page to English, informal, written for developers."
- "Make an English version as marketing copy. Feel free to rewrite the headlines."
When the open page lacks a language, the panel suggests Translate this page to English by itself.
What you say about tone, audience and style is passed on in your own words. With no such wishes you get a faithful translation: natural wording, the same meaning, facts and structure. Ask for freer copy and the style becomes copywriter: wording and emphasis are adapted for the market, and the translator is told never to invent facts, prices, names, numbers, claims or links. What Norcube CMS itself enforces in either style is described under What protects your site.
What the card shows
Norcube CMS first checks that the page can be translated: the language is one of the site's, the page has no version in it yet, and the place for the new page is free. Then the card appears and the translation is written while you look at it.
| On the card | What it is |
|---|---|
| From, Language | The page being translated and the language of the new version. |
| Where, Address | The file the new page will be and the address it will have. Norcube AI proposes the name in the new language; Norcube CMS builds the place. When versions are linked by path, the new page keeps the original's name and folder. |
| Style | Faithful translation or copywriter, and your instructions as you gave them. |
| Original / Translation | Every text, side by side, with the field it belongs to. |
| Links that stay in the original language | Links to pages that have no published version in the new language. |
| Word count | The words of the original that were translated. |
Texts that came from the translation memory are marked (reused). Texts the translator left as they were are marked (left as is) (see Texts left as is).
Confirm is off until the translation is ready. If it can't be written, the card says why, and nothing was created. A failed translation offers no retry on the card: ask Norcube AI again and it makes a new one.
The translation is prepared only for a card Norcube AI really proposed to you, in your organization, for exactly this request. Otherwise the card says "This translation can't be prepared for this card. Ask again." and nothing is translated.
The translation and its card are confirmed inside the site. Opened elsewhere in the dashboard, the card says "Open this site in Norcube CMS to see the translation and confirm it."
What is translated and what is not
Only text a visitor reads is translated: titles, headings, paragraphs,
rich text, button and field labels. By default that is every text,
paragraph and richtext field. Everything else is copied to the new
page as it is:
- images, files, links, selects, numbers, dates, colours;
- the field that links the language versions;
- a text field with a
regex(an anchor id, an icon name, a handle); - a value with no words in it: a phone number, a price, an email or web address on its own.
Two fields are set rather than copied: a slug field becomes the new
page's own (its path under the new language's folder), so the new page has
its own address, and the field a collection keeps its language in, if
it has one, is set to the new language.
Inside a text, what must stay as it is never goes to the translator and comes back exactly where it was:
- code: code blocks and inline code;
- the destination of a link or an image (the words of a link and an image's alt text are translated), and the label of a reference link;
- web and mail addresses written out, HTML tags with their attributes,
and entities such as
; - template variables and tags, such as
{{variables}},{% tags %}and%s; - in the body of an
.mdxpage, the code the site runs when it builds: imports, exports, components and{expressions}. The text between component tags is translated.
A text whose code, links or markup can't be told apart from its words (a code block or an element that is never closed, an MDX expression that does not end) is refused before anything is sent: the card names the field, and you fix it in the editor first.
To keep a text the same in every language (a brand name, a product
code), set translatable: false on
the field, or on a group or list to cover everything inside it.
Texts left as is
A name, a brand or a short label is often the same in both languages ("Bookitive", "SaaS", "AI chatbot"), and the translator may return it unchanged. That is accepted at once for a text with no words to translate (an address, code, a number, a glossary term kept as it is), for a text made only of names and codes ("GPT-4", "CRM"), and for a text of up to three words when both languages use the same alphabet. Any other text that comes back unchanged is sent to the translator once more, alone, which either translates it or says why it stays: it is a name, a term the language uses as it is, or it is already in the new language. A sentence that comes back unchanged is never accepted without that question.
A text the translator still leaves as it was, without a reason, does not fail the translation. The card says how many, such as 2 texts left as is, lists them when you open it, and the stack of cards says Ready, 310 words · 2 left as is. The new page has the original text there, so you can fix it in the editor before you publish. To have such words kept on purpose every time, add them to the glossary as terms that are not translated.
When more than a fifth of the page's texts, or a quarter of its text, comes back untranslated (for a very long page: of any part LangSync translates at once), the translation fails and the card says "Too much of the page came back untranslated". Ask again, or add the names the page uses to the glossary first.
Links between pages. A link to a page that has a published version in the new language is moved to that version. A link to a page whose version in that language is not published yet, or does not exist, is kept, pointing at the original, and listed on the card.
What protects your site
- The translation is written by LangSync, with your organization's glossary. Norcube AI's own model does not write it and cannot change it.
- Norcube CMS checks what comes back before you see it: every text is there; links, code, tags and variables came back unchanged and where they belong; a Markdown text keeps its headings, lists, paragraphs and tables; and nothing was added that the original did not have (an address of any kind, including a bare domain, a mail address or a phone number; an image; HTML; a script; or code the site runs when it builds). A translation that fails the check is not shown and not stored as a page. Names, numbers and prices in the words themselves are not checked: that part is what the translator is told to do.
- Norcube AI can't add build-time code either: a page it creates, edits
or translates is refused if it adds a template tag, or in an
.mdxpage an import, an export, a component or an expression. - The new page is checked against the site's schema like any new page.
- If the original page or the schema changed after the translation was written, confirming is refused and you ask again.
- The page is yours to review: it is created not published yet, and you edit, publish or discard it in the editor.
After confirming
The card says Page created. Open it. The new page opens in the editor, marked Not published yet. Until you publish it, the Pages list and the editor's language menu show that language as not published yet, not as missing.
The creation is in the site's audit log as yours, with a Norcube AI mark.
Limits
- One page per card, up to 48 kB of content.
- A prepared translation is kept for a day. A card that is not confirmed expires after 15 minutes; ask again and texts already translated are reused from the translation memory.
- A translation that runs out of time fails; ask again.
- Norcube CMS prepares at most two translations of one person at once in a site, and starts at most 20 a person and 60 a site in an hour. Past that the card says which limit was reached, in Norcube CMS's words, with Retry. Cards shown together (from Translate all) wait their turn instead of being refused.
- LangSync limits how much text it translates for one organization in an hour and in a day. Past that the translation fails and the card says which limit was reached and when to try again.
- An organization blocked in LangSync over unpaid invoices gets "Translation is blocked for this organization".
- Norcube AI doesn't publish the page as part of translating it, and it can't translate into a language the site doesn't have.
Translation memory
LangSync remembers the translations Norcube CMS accepted, per organization and language pair, and serves a remembered one again instead of translating the text anew:
- Short headings, buttons and labels (a few words, such as "Contact" or "Read more") are reused on every page of your organization's sites.
- Everything else (paragraphs, descriptions, rich text, the body, longer headings) depends on the page it is on: it is reused for the same text of the same page. A change of the page's title or of the site profile translates it again.
- Either way, a text is reused only with the same style and instructions and while the glossary entries in it are unchanged. Ask with other instructions and it is translated again.
- Only accepted translations are remembered: nothing of a translation that failed. A remembered translation that is not used for a year is forgotten.
There is no screen for the memory.
What it costs
Page translation is metered by LangSync per word of the original text. What counts:
- only the texts LangSync's model translated for a translation Norcube CMS accepted, each text once;
- not the texts reused from the translation memory;
- not markup, placeholders or numbers on their own: a word needs a letter in it;
- not the texts left as is. They are not remembered either, so asking again translates them again.
The translation is written and accepted when the card appears, so a card you cancel was still counted once. A translation that fails (the card says why) is not counted and nothing of it is remembered, so asking again translates it afresh.
Related
- Norcube AI: what it can do and who decides.
- Language versions: how a site declares them.
- Glossaries: fixed terms for every translation.
Page editor
The schema-driven content editor — the field form, content blocks, rich text, validation, and the Save vs Publish split.
Changes
Everything in a site that is waiting to be published (pages, and files Content health optimized or removes), what each changes, and publishing several as one commit.