Localization in Sitecore AI: Languages, Item Versions and Language Fallback

Sitecore AI with Himanshu Bhatt

Localization in SitecoreAI: Languages, Item Versions and Language Fallback

How one site can speak many languages, and how multiple versions of the same item are managed.

Part 2 of 2 | Multilanguage and Versions

In Part 1 we looked at site collections and shared sites. Now the second half of the story: the same content in many languages and regions.

In my experience this is where projects quietly go wrong. Not because the feature is weak, but because teams do not decide early what should be translated and what should simply fall back.

Languages in SitecoreAI

SitecoreAI supports creating content and websites in multiple languages. English is the default, and you can add any number of languages to your instance, either from predefined languages or as custom languages you create yourself. Once a language is added, you create language versions of items or whole sites and start translating.

The mental model
One item → many languages → many versions in each language

Language versions and item versions

A Sitecore item is not one flat record. Each language of an item holds its own versions. In the Content Editor, you pick the language from the language list and use Add a new version to create a version in that language. This is what lets authors work on a new version of a page while the earlier one stays safe.

  • The Home page in en and the Home page in fr-FR are separate language versions of the same item.
  • Inside each language, you can keep creating newer versions as content evolves.
  • Not every field has to be versioned. Some fields in Sitecore are shared across languages, so check your template design before assuming everything translates.

Language fallback: the feature I like most

Language fallback shows content from another language when the current language has no version. You define the fallback rules on the languages added to your environment, and then enable fallback on the items or fields you want.

A real-world style example

Launch an English (Australia) site on day one without translating anything.

Set en-AU to fall back to en, enable item-level fallback, and then localize only what really differs, such as currency or units.

Item-level fallback

An item with no version in the selected language falls back to another language version, including all its fields. In the editor the fallback version is read-only and a warning tells you which language you are viewing. You can jump to the original item or add a real version.

Field-level fallback

You choose which field values are localized and which fall back. An individual field shows that its value comes from another language. Not supported on standard values items, shared fields, system fields or fields starting with __.

Fallback chains

Fallback can be chained. For example, en-NZ can fall back to en-AU, and en-AU to en. If neither en-NZ nor en-AU has a version of an item, the en version is used. Fallback is also supported when publishing to Experience Edge, and developers can use it for dictionary labels (item-level fallback is enabled by default on the template that dictionary entries are based on).

Localization plus multisite: how they work together

This is where Part 1 and Part 2 meet. Each site has its own hostnames and default language. You can have one site per country, or one content tree served on several hostnames in different languages.

The multisite resolution documentation shows a case where two site definitions share the same root path, one for www.example.com in en and one for www.example.fr in fr-FR. For that style of setup, the documentation says you must enable language-based site resolution in your environment and republish afterwards for the change to take effect.

Approach Good when
One site, many languagesSame structure and content everywhere, only the language changes
Separate site per market (in one collection)Markets need their own pages, hostnames or local content, but share design
Language-based site definitions on one rootOne content tree, but separate hostnames per language

Where AI helps in translation

SitecoreAI also lists translation among its AI-assisted workflows, supporting multilingual content work. My view: use it to speed up the first draft, but keep local reviewers in the loop for tone, legal wording and brand terms. Check the current AI capabilities documentation for what is enabled in your own tenant, since features evolve quickly.

Developer guide

  • Each site has a default language configured in SitecoreAI. Use it as the default when your app resolves the site, together with the language that arrives in the request.
  • In Content SDK, defaultLanguage in sitecore.config.ts is the fallback locale used for API requests, site resolution and middleware when no language is provided.
  • Dictionary entries are stored per site and language, so UI labels such as "Read more" can be localized too.
  • Enable fallback at template level where it makes sense, so new items behave consistently.
  • Remember Edge: publish after changing language or fallback settings, since your head app reads published content from Experience Edge.

Mistakes I would avoid

  1. Translating everything for every region when fallback would do.
  2. Forgetting to enable fallback on the field or item, and then wondering why empty content appears.
  3. Leaving language-based site resolution off when two hostnames share one root path.
  4. Skipping a test of the fallback chain with a language that has zero versions.

Final thoughts

Together, site collections, shared sites, language versions and fallback let a customer run many brands and markets from one SitecoreAI environment, with consistency where it matters and freedom where it does not. For developers, the work is mostly in planning: collection boundaries, resolution rules and fallback strategy.

Share what is common. Localize what is different.

That one sentence sums up good multisite and multilanguage design.

About this blog

Welcome to Sitecore AI with Himanshu Bhatt, where I share practical SitecoreAI learning and lessons from my journey as a Sitecore developer.

Comments

Popular posts from this blog

From Prompt to Component: My First Hands-On with the Sitecore Developer MCP

Getting Started with SitecoreAI: What Is It and Why Does It Matter?