Dev.to WebDev 🛠 Dev 👁 0 📖 5 min read

Planning a multilingual website: 8 questions to answer before you build

A multilingual website usually starts life as a single-language site with "we'll add Arabic later" written somewhere in the brief. Later arrives, and the team finds that menus are hard-coded, dates are stored as text, th

A multilingual website usually starts life as a single-language site with "we'll add Arabic later" written somewhere in the brief. Later arrives, and the team finds that menus are hard-coded, dates are stored as text, the layout only works left to right, and the CMS has one field for every title. Adding a language at that point means rebuilding parts of the site.

Planning for languages up front costs very little. Here are the eight questions I ask before building a multilingual site or platform. You don't need to be technical to answer them, and the answers shape the whole project.

1. Which languages, and which one comes first?

List every language you need now and every one you might need in the next two years. A site built for two languages can usually take a third without much work. A site built for one usually can't.

Also decide which language is the default. It affects what visitors see when their browser language isn't supported, which version search engines treat as the main one, and which language your team writes in first.

2. Will every page exist in every language?

This sounds simple, and it decides a lot. There are three common answers:

  • Full parity. Every page and every article exists in every language. Clean for visitors, but every new page needs a translation before it goes live.
  • Core pages only. Services, contact and key landing pages are translated, the blog is in one language. Often the right balance for a small team.
  • Different content per market. Each language has its own pages, offers or prices. Common for clinics or shops serving different countries.

Whichever you choose, the site has to handle missing translations properly. A visitor switching to German on an English-only article should land somewhere useful, not on an error page.

3. Who writes and maintains each language?

This is the question teams skip most often. A site with four languages and one person who speaks two of them will drift out of date within months.

Decide who translates (staff, an agency, a freelancer, or machine translation with human review), who approves, and how they know a page needs updating. A good admin dashboard shows which translations are missing or older than the original, so nothing is forgotten. I build this into the content model rather than leaving it to a spreadsheet.

4. Do you need a right-to-left language?

Persian, Arabic, Hebrew and Urdu are written right to left. Supporting them is more than flipping text alignment. The whole layout mirrors: navigation, icons with direction, progress steps, tables and form fields. Numbers, product codes and English brand names inside a right-to-left sentence still run left to right, and they need care so they don't jump around.

If any right-to-left language is on your list, even for later, the site should be built with logical layout rules from day one. I wrote about how that works in practice in RTL layouts with CSS logical properties. Retrofitting it into a finished site means touching almost every stylesheet.

5. What will the URLs look like?

Each language version needs its own address so people can share it and search engines can index it. The usual options are:

  • A folder per language: example.com/en/, example.com/fa/. Simple to run, and every language benefits from the main domain's reputation. This is what I recommend for most projects.
  • A subdomain per language: fa.example.com. Workable, but each subdomain tends to be treated more like a separate site.
  • A domain per country: example.de, example.ae. Strong local signal, but more domains to buy, renew and promote.

Also decide whether page addresses themselves are translated. /fa/services is easier to build; a translated slug reads better to local visitors. Both work, as long as you choose before launch. Changing URLs afterwards means redirects for every page.

6. How will search engines find each language?

A translated page that search engines don't connect to its siblings can compete with them or not appear at all. Multilingual SEO needs a few things in place:

  • hreflang tags on every page, listing each language version, so Google shows the right one to the right visitor.
  • Translated titles and descriptions, written for how people search in that language, not just translated word for word.
  • A sitemap that includes every language version.
  • No automatic redirects based on the visitor's location. Search engine crawlers mostly come from one country, so forced redirects can hide your other languages from them. Offer a language switcher instead.

Keyword research matters per language too. The term your Persian-speaking customers search for may not be the literal translation of your English keyword.

7. What else changes between languages?

Text is the obvious part. These are the parts that usually surface during testing, when they are more expensive to fix:

  • Dates and calendars. Iranian users may expect the Solar Hijri calendar; others the Gregorian one. Store dates in one standard form and format them per language.
  • Numbers and currency. Digit shapes, decimal separators and currency position all vary.
  • Forms. Name fields, phone formats, address layouts and validation messages differ by country.
  • Text length. German text often runs a third longer than English. Buttons and menus need room to grow.
  • Fonts. Not every font includes Persian or Arabic characters, and pages load slower if you ship fonts for every script to every visitor.
  • Emails and PDFs. Confirmation emails, invoices and notifications need the same languages as the site.

8. Who switches languages, and how?

Make the language switcher easy to find, show each language in its own name ("فارسی", not "Persian"), and keep the visitor on the same page when they switch. Remember the choice for next time.

For platforms with logged-in users, also decide whether each user has a preferred language for emails and notifications. Patients, staff and administrators may each work in a different one.

What this looks like on a real project

On Smart Med Tourism, eleven medical centres share one frontend, each with its own content, and international patients use the site in their own language. Answering these questions early is what made that manageable: the content model, the URLs and the admin screens were all built around more than one language from the start, so a new centre or a new language is configuration, not a rebuild.

A short checklist

  1. Languages now and within two years, and the default one.
  2. Which pages exist in which languages, and what happens when one is missing.
  3. Who translates, who approves, and how out-of-date pages are flagged.
  4. Whether any right-to-left language is on the list.
  5. URL structure and whether slugs are translated.
  6. hreflang, translated metadata, sitemap, no forced redirects.
  7. Dates, numbers, forms, fonts, emails and text length.
  8. The language switcher and per-user language preferences.

Planning a multilingual site?

If you are planning a site or platform in more than one language, especially one that includes Persian or Arabic, I can help you answer these questions and build it so adding the next language is easy. See how I approach multilingual website development or tell me about your project.

Originally published on mkcodestudio.com.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.