TecnoStack
Start a projectالعربية
An illustrative Doctor A record sits apart from two empty layout frames, connected by reference routes.
Web & mobile

A headless CMS content model describes the stable things your organisation publishes, so pages, channels and a second language can change around it. How to choose entities and references, pick field- or document-level localisation for Arabic and English, store Arabic text and Hijri dates, and change a model without breaking URLs.

In this article

Silent video with on-screen text. The transcript below repeats every screen and describes what it shows.

Watch on the video page

  1. 0:00–0:06

    Start with the record • Keep content separate from layout. • Doctor A • Name • Bio

    The illustrative Doctor A folder stays fixed in its place. A separate panel with two empty fields, Name and Bio, moves in beside it. One arrow traces from the folder to Name and a second, separate arrow traces to Bio; both input areas stay blank, so no real personal details appear. The arrows retract and the field panel withdraws before the cut, leaving the folder unchanged.

  2. 0:06–0:12

    Reference the same record • One source, two layouts. • Doctor A • Card • Profile

    Doctor A stays fixed. Card and Profile frames move in along separate lanes. Two separate arrows trace from the same Doctor A folder, one to Card and one to Profile, and a reading marker follows each reference in turn. Nothing is copied: both layouts point back to one record. The arrows retract and both frames leave along their own lanes before the cut.

  3. 0:12–0:18

    Separate shared and local fields • Plan each language. • Doctor A • Shared photo • Arabic • English

    Doctor A stays fixed. The Shared photo tile settles above two language cards, Arabic and English, whose text areas stay empty. Separate arrows trace from Shared photo to each language card, and a marker on each arrow shows the one photo serving both. Before the cut, Shared photo and English leave with their arrows, while the Arabic card stays in place for review.

  4. 0:18–0:24

    Define the review • Reviewer still needed. • Doctor A • Arabic • Reviewer • Review needed

    Doctor A and the Arabic card stay fixed. A pending Review needed document enters with an empty Reviewer field beside it. An outline highlights the unfilled Arabic card, and its arrow traces to the Review needed document and stops there; no approval mark appears. Before the cut, Arabic and Reviewer leave along their entry lanes, while the folder and the review document stay.

  5. 0:24–0:30

    Compare both previews • Publication pending. • Doctor A • Card • Profile • Review needed

    Doctor A and Review needed stay fixed. Card and Profile return to their earlier positions along separate lanes. Arrows trace from Doctor A to each layout and from each layout to Review needed. One marker follows Doctor A to Card and on to Review needed; a second follows Doctor A to Profile and on to Review needed, where both stop. These are proposed previews; publication stays pending.

A headless CMS content model is the set of content types, fields and references your CMS stores, separate from how any page displays them. Model the stable things you publish about, such as services, people, locations and articles, name fields for what they mean, then decide per content type how the Arabic and English versions relate.

Get that right and a redesign touches templates while the content stays put. Get it wrong and the problems show up months after launch: editors paste the same bio into forty entries, a field called heroTitleBlue outlives the blue hero, and the Arabic page has nowhere to put a local example the English page doesn't need. Below are the decisions that prevent them, in the order we make them on a bilingual website project.

Look for localised fields or linked documents per language, explicit translation links, per-language slugs and alt text, and clear rules for missing translations and publishing approval. Store Arabic text without embedded direction controls and keep dates as date values. The front end sets RTL direction with dir, handles mixed Arabic and Latin text, and formats dates for the locale, including Hijri dates when needed. Keep search normalisation in the index and use locale-aware sorting; these are responsibilities to check across the CMS and the front end.

A content model has three parts: content types (the kinds of thing you store), fields (the data each type holds) and references (the links between types). Pages and channels sit outside the model. They read the content and decide how to arrange it.

PartWhat it isExample on a clinic website
Content typeA kind of thing you publish aboutDoctor, Specialty, Branch, Article
FieldOne piece of data, named for its meaningname, bio, photo, photoAlt, openingHours
ReferenceA pointer from one entry to anotherDoctor → Specialty, Doctor → Branch, Article → Doctor
Locale ruleHow each language version relatesDoctor: one entry, localised fields. Article: one entry per language

The example is illustrative. No row mentions a hero banner, a grid or a homepage: those belong to templates.

Choose entities from the things your organisation talks about, because those change far less often than page layouts. A clinic has doctors, specialties and branches. A software company has services, case studies and articles. Model those as content types and let templates arrange them.

Three tests keep a model honest:

  • The channel test. If you sent this content to an app, an email or a search result tomorrow, would every field name still be accurate? title and summary pass. heroTitleBlue and leftColumnText fail.
  • The one-job test. Each type should have one clear purpose. A "page" type that can hold every possible section becomes a junk drawer: editors can't tell which fields matter, and developers can't tell which combinations are valid.
  • The copy test. If editors would type the same data into more than one entry, that data wants its own type.

Make shared data a reference whenever it appears in more than one entry. An author, a category, a branch address or a product specification belongs in its own entry, linked from everywhere that uses it. Copying turns every change into search-and-replace, and the copies drift apart.

References bring decisions you should make on purpose:

  • Deletion and unpublishing. What happens to articles that reference an author who leaves? Block the deletion, swap the reference or hide the byline? Pick one and configure it.
  • Depth. Keep nesting shallow. A structure that needs several levels of nested components usually wants its own content type and a reference. Deep trees are harder for editors to follow and harder to cache precisely.
  • Cross-language references. Should the Arabic article point to the same author entry as the English one, with localised name fields, or to a separate Arabic author entry? Decide once per type and write it down.

One Doctor A record feeds a Card layout and a separate Profile layout through two references.

In this hypothetical model, Card and Profile reference the same Doctor A record. Layout changes do not require separate copies of the doctor’s content.

Choose per content type. Field-level localisation keeps every language inside one entry; document-level localisation gives each language its own entry, linked to its translations. Sanity's localisation documentation (as of October 2026) recommends field-level for documents that mix language-specific and shared fields, and notes it requires publishing all languages at once. Document-level suits content with no shared fields and lets each language publish independently.

TinaCMS, which we use on our website builds, describes the same split (as of October 2026) as directory-based localisation, with a folder per locale, and field-based localisation, with nested values per language in one file. Other platforms use different names for the same two ideas, so check your platform's current documentation.

Content typeUsually fitsWhy
Navigation labels, office details, product specificationsField-levelSame structure in both languages, updated together, gaps easy to spot
Author or doctor profilesField-levelShared photo and links; only the name and bio are translated
Articles and guidesDocument-levelThe Arabic version may need its own introduction, examples or publishing date
Campaign and legal pagesDocument-levelSeparate approval and timing per language

Mixing is normal. Our own journal stores each article as one Markdown file per language, with the same slug in both, while categories and tags are separate entries referenced from the article. A document-level article can point to a field-level author entry without any conflict.

A bilingual model needs written answers to questions the CMS won't answer for you. Settle these before editors start entering content:

  1. Missing translations. Does the Arabic page fall back to English text, show a notice, or wait until the translation is ready? English text under an Arabic URL and page language confuses readers and screen readers, so we prefer to hold the page back or show a clear notice.
  2. Ownership and approval. Who writes, reviews and approves each language, and can one language publish before the other?
  3. Slugs. Store each language's slug in its own field, set by a person and kept stable when titles change. Regenerating slugs from titles breaks links.
  4. Translation links. Keep an explicit link between language versions so the language switcher lands on the same page and the site can declare alternates. Google's documentation on localised versions (updated September 2026) says hreflang annotations are ignored unless both pages point to each other.
  5. Draft preview. Unpublished content should only be fetched by server code that checks the editor's session. Our guide to auth boundaries in Next.js server code shows where those checks belong.

Arabic SEO titles, slugs and descriptions need more than a translation of the English. Read how Saudi customers search in Arabic before you write the field guidance editors will follow, because the words people type are rarely a literal translation.

Store Arabic content as plain data and leave presentation to the front end. That one rule covers most of the problems an English-only model misses:

  • Direction belongs to templates. Store text without embedded directional control characters. The W3C's internationalisation guidance says you still need markup, the dir attribute, to set a document's direction, and that Unicode bidi controls are only for inline use. Handle mixed strings, such as an Arabic sentence with a Latin product name or a phone number, at render time.
  • One real date. Store a date value, never a formatted string. If your audience needs Hijri dates, convert at display time. JavaScript's Intl.DateTimeFormat supports the islamic-umalqura calendar, which MDN describes as the Umm al-Qura Hijri calendar, so sorting and filtering keep working on the stored date.
  • Search normalisation. Normalise hamza forms, alef variants and diacritics in the search index, not in the stored text, and sort Arabic lists with locale-aware collation.
  • Alt text in every language. Image descriptions are content, so give photoAlt a field per language. WCAG 2.2 lists text alternatives for non-text content among its success criteria. The field makes good alt text possible; a reviewer still checks it describes the image.

Treat every model change as a migration with a plan, because no model survives a growing organisation unchanged. An illustrative example: an events site stores each venue as free text inside every event. To make venues reusable, the team:

  1. adds a Venue type and a reference field on Event, keeping the old text field for now;
  2. backfills venues with a script, merging duplicates and logging ambiguous matches for an editor to resolve;
  3. switches templates to read the reference, with the old field as a fallback for one release;
  4. removes the old field once entry counts match and editors have checked samples in both languages.

Run the script on a copy of the data first and keep it in version control. If the content feeds a cached front end, tag cached pages by the entities they use, so editing a venue revalidates every event page that shows it.

A Shared photo links to English and Arabic field cards; both routes lead to a document marked Review needed.

The hypothetical record shares its photo while localising its text. Empty language fields and a pending review record mean no translation or publication has been accepted.

Check that each design-system component can receive the content it needs, without tying a content type to one presentation. A Doctor entry can supply a profile card, a biography page and a search result; internal references and workflow fields do not all need a visible component property. Discuss design tokens with AI drafts and content requirements together, so components do not depend on fields nobody stores.

In commerce, decide which system owns which fields. Product descriptions and editorial copy can live in the CMS while prices, stock and variants stay in the commerce backend. Our comparison of Shopify Hydrogen vs Medusa covers that headless storefront and backend boundary.

The model also shapes scope. Our published website plans count CMS collections: the business website plan includes one blog or case-study collection, and the connected website plan includes up to three. The website cost guide explains how that and the other scope items move a quote.

Before templates are built, you should be able to answer yes to each of these:

  • Every content type describes a thing you publish about, not a layout.
  • Every field name would still be accurate in another channel.
  • Shared data is referenced, not copied, and deletion rules are set.
  • Each type has a written localisation choice: field-level or document-level.
  • Missing-translation, approval, slug and preview rules are written down.
  • Dates are stored as dates, text without direction controls, alt text per language.
  • One person on your side approves model changes, and changes ship as migrations.

If you are planning a bilingual site and want the model agreed before anyone designs a page, we build Next.js websites with editable content with structured content in TinaCMS that your team edits in Arabic and English.

CMS capabilities change, so check your platform's current documentation. The modelling recommendations here are TecnoStack's own guidance; no CMS vendor requires them.

Discuss your website, store, app or AI project in Arabic or English. We agree the scope before work starts.

Book a free scoping callCompare services and prices