Home / Insights / Web and SaaS Development

Web and SaaS Development

Multilingual Websites: hreflang, Translation Quality and Local SEO

Adding languages to a website is easy to start and easy to get wrong. This guide covers the technical decisions, translation workflow and local search signals that decide whether each language version actually reaches its market.

TopicsWeb and SaaS Development

Key takeaways

  • Decide first whether you are targeting languages, countries or both; that choice determines your URL structure, hreflang values and content plan.
  • Use a separate URL per language version, avoid automatic redirects by IP or browser language, and give users a visible language switcher.
  • hreflang only works when every version lists itself and all its alternates with valid language and region codes; missing return links are the most common failure.
  • Match translation method to page value: human translation for key commercial pages, machine translation with human post-editing for supporting content, and never mass-produced unreviewed pages.
  • Local SEO needs local signals beyond translation: market-specific keywords, currency, addresses, phone numbers and content that answers local questions.

Companies usually add a second or third language to their website for good reasons: a new market, a distributor network, or customers who would simply rather read in their own language. The difficulty is that a multilingual site multiplies every existing weakness. A slow template becomes slow in four languages. A thin page becomes four thin pages. And a small technical mistake in how language versions reference each other can leave search engines showing the wrong version to the wrong audience.

This guide is for marketing leads, founders and technical owners planning or fixing a multilingual site. It covers how to structure URLs, how to implement hreflang so search engines understand your versions, how to keep translation quality consistent, and what local SEO requires beyond translation. It reflects how we approach multilingual builds within our website design and development work, where technical SEO, site structure and redirects are planned as part of the build rather than fixed afterwards.

Are you targeting languages, markets or both?

The first decision is conceptual, and it shapes everything else. A language-targeted site serves speakers of a language wherever they are: one Spanish version for Spain, Mexico and the United States. A market-targeted site serves a country, which may need different prices, legal terms, delivery options or even product ranges, even when the language is shared: separate English versions for the UK and Australia, for example.

Questions to settle before any build work

  • What differs between markets? If only the language changes, target languages. If prices, products, regulations or contact details change, you need market versions.
  • Who will maintain each version? Every language you add needs an owner who can review content and answer enquiries in that language.
  • Which pages matter in each market? Few companies need every page translated. A focused set of commercial pages done well beats a full site translated poorly.
  • How will enquiries be handled? A beautifully localised Vietnamese or German site that routes every form to an English-only inbox damages trust.

Action: produce a one-page market matrix listing each target audience, its language, what differs, the pages in scope and the content owner. It becomes the reference for URL design, hreflang values and the translation budget.

Choosing a URL structure

Google’s guidance on managing multi-regional and multilingual sites sets out four ways to organise language or country versions. Each has trade-offs in cost, maintenance and how clearly it signals the target market.

StructureExampleStrengthsWeaknessesUsually fits
Country-code domain (ccTLD)example.deClearest country signal; easy to separateMore expensive; extra infrastructure; some registries have eligibility rules; one country per domainLarge companies with distinct country operations
Subdomainde.example.comEasy to set up; can host in different locationsUsers may not know whether ‘de’ means language or countryVersions run by separate teams or platforms
Subdirectoryexample.com/de/Easy to set up; single host; low maintenanceSingle server location; harder to separate laterMost small and mid-sized companies
URL parameterexample.com?lang=deQuick to bolt onNot recommended by Google; hard to segment and for users to recogniseAvoid

For most organisations we work with, subdirectories on the main domain are the pragmatic choice: one CMS, one deployment, one set of security and performance settings, and shared domain authority. ccTLDs make sense when a country business genuinely operates separately.

Rules that apply whatever structure you choose

  • One URL per language version. Google advises against serving different languages on the same URL based on cookies or browser settings, because crawlers may only ever see one version.
  • No automatic redirects by IP or language. Google notes that Googlebot mostly crawls from the US and does not send Accept-Language headers, so automatic redirection can hide versions from search and frustrate travelling users. Offer a suggestion banner and a visible language switcher instead.
  • One language per page. Keep navigation and content in the same language, and avoid side-by-side translations on one page.

Implementing hreflang correctly

hreflang annotations tell search engines which pages are equivalent versions for different languages or regions, so the right one appears in each market’s results. Google documents three equivalent methods and says using more than one brings no extra benefit.

The three methods

  • HTML link elements in each page’s head, such as <link rel='alternate' hreflang='de' href='https://example.com/de/pricing/'>. Best for most CMS-driven sites.
  • HTTP Link headers, useful for non-HTML files such as PDFs.
  • XML sitemaps with xhtml:link entries per URL. Useful for very large sites or where templates are hard to change.

The rules that cause most failures

  1. Return links are mandatory. Every version must list itself and every other version. If the English page points to the German page but the German page does not point back, Google may ignore the annotations.
  2. Use valid codes. Language codes follow ISO 639-1, optionally followed by an ISO 3166-1 alpha-2 region, for example en-GB or vi-VN. A region on its own is invalid, and Google’s documentation notes that UK is not a valid region code — use GB.
  3. Use fully qualified URLs, including the protocol.
  4. Add x-default for the fallback page, often a language selector or your main international version, for users whose language matches none of your versions.
  5. Point at canonical, indexable URLs. Annotating a URL that redirects, returns an error or canonicalises elsewhere sends mixed signals.

hreflang is not the lang attribute

Both are needed, for different reasons. The W3C recommends always declaring the page’s default language with a lang attribute on the html element, using BCP 47 language tags, and marking inline changes of language on the relevant element. That helps browsers and assistive technology process the text correctly. Google, meanwhile, states that it does not use the lang attribute or hreflang to detect a page’s language; it reads the visible content. So the page content itself must genuinely be in the declared language.

Implementation tips

  • Generate hreflang from the CMS’s translation relationships, never by hand-editing templates.
  • Only output alternates for pages that actually have a translation; do not point to the home page as a stand-in.
  • Add an automated check to your release process that crawls the site and flags missing return links, invalid codes and non-200 targets.

Managing translation quality

Translation is where most of the budget goes and where quality varies most. The right approach depends on the commercial value and risk of each page, not on a single site-wide policy.

MethodQuality and nuanceSpeed and costBest forMain risk
Professional human translation and reviewHighest; handles tone, idiom and persuasionSlowest and most expensive per wordHome, product, pricing, legal and landing pagesCost limits coverage
Machine or AI translation with human post-editingGood when the editor is a fluent subject expertFaster and cheaper than full human translationBlog articles, help content, case studiesLight editing lets errors and awkward phrasing through
Unreviewed machine translationInconsistent; terminology and tone driftFastest and cheapestInternal drafts onlyPoor user trust; potential search quality issues
Transcreation (rewriting for the market)Highest local relevanceSlowest; needs local marketersCampaigns, slogans, brand messagingVersions drift apart and become hard to maintain

A note on mass machine translation

Google’s spam policies describe scaled content abuse, which includes generating many pages from other content through automated transformations such as translation where little value is added. Translating your own useful content is not the problem. Pushing hundreds of unreviewed machine-translated pages live to capture search traffic is. If you have such pages, review them or keep them out of the index.

Building a quality system

  • Glossary: agreed translations for product names, features and industry terms, plus terms that must never be translated.
  • Style guide per language: formality level, how to address the reader, date, number and currency formats.
  • Translation memory: reuse approved segments so updates are cheaper and consistent.
  • In-market review: a fluent reviewer, ideally someone who sells or supports in that market, signs off key pages.
  • Layout testing: some languages run noticeably longer than English, and others need different fonts or line breaking, so test templates with real translated text.

Local SEO beyond translation

A translated page is not automatically a locally competitive page. People in different markets search with different words, compare different competitors and expect different proof.

Research keywords per market

Do not translate your English keyword list. Research how people in each market actually describe the product or service, including local synonyms and the balance between local-language and English terms. In some Asian markets, for instance, buyers of technical services often search with a mix of English and local terms, so check real search data for each market rather than assuming.

Send consistent local signals

Google lists signals it uses to understand a page’s target locale, including country-code domains, hreflang, local addresses and phone numbers, currency and Google Business Profile information. It also notes that it ignores geo meta tags. In practice, that means:

  • Show prices in local currency where you sell locally.
  • Publish local addresses and phone numbers where you have a real presence, and keep them consistent with your business profiles.
  • Use local date and number formats.
  • Include market-specific proof: local customers you are allowed to name, certifications that matter in that market, and local delivery or support details.

Write content for local questions

Supporting content should answer questions buyers in that market actually ask, such as local regulations, payment methods or integration with locally popular platforms. Our article on super apps and mini-programs in Southeast Asia shows how much platform expectations differ between markets; your content should reflect those differences rather than repeat a global message.

Building the CMS and publishing workflow

Most multilingual problems that appear months after launch are workflow problems: a page updated in English but not in other languages, a new template missing hreflang, or a translator pasting content into the wrong locale. Design the workflow as carefully as the templates.

Platform considerations

  • WordPress: established multilingual plugins such as WPML and Polylang manage translation relationships and can output hreflang. Check how they interact with your theme, caching and SEO plugin before committing.
  • Headless CMS with a Next.js front end: platforms such as Contentful, Sanity and Strapi support locales natively; the front end must generate routes, hreflang and sitemaps from locale data.
  • Translation management integration: for larger volumes, connect the CMS to a translation management system so content moves out for translation and back without copy-paste.

Step-by-step rollout

  1. Agree the market matrix, URL structure and the pages in scope for each language.
  2. Build templates that handle longer text, right-to-left scripts if needed, and locale-aware formats.
  3. Implement language switching that keeps users on the equivalent page, not the home page.
  4. Generate hreflang, canonical tags and per-locale XML sitemaps from the CMS.
  5. Translate and review the priority pages using the glossary and style guide.
  6. Run a pre-launch crawl for hreflang errors, broken links, untranslated strings and mixed-language pages.
  7. Launch, submit sitemaps and monitor indexing and search performance per locale.
  8. Set a content update rule: when a source page changes, translations are flagged as outdated until reviewed.

Do not forget the basics in every language: security headers, performance and accessibility apply equally. Our guides to security headers and CSP and accessibility testing with WCAG 2.2 are worth running against each locale, since translated content can break layouts and contrast assumptions.

Risks, costs and a launch checklist

Common risks

  • Partial translations: a page with translated navigation but English body text confuses users and search engines.
  • Orphaned versions: language versions that are not linked from the switcher or sitemap and slowly go out of date.
  • Inconsistent enquiries handling: leads arriving in languages nobody can answer promptly.
  • Over-expansion: launching many languages at once, then lacking the capacity to maintain them.

What drives cost

The main cost drivers are the number of languages and pages in scope, the translation method per page type, template work for different scripts and lengths, CMS integration, and ongoing maintenance. Ongoing cost is the one most often underestimated: every future page and update multiplies by the number of languages. Start with fewer languages and a focused page set, then expand once you can see performance and enquiry data.

Pre-launch checklist

  1. Market matrix agreed, with an owner for each language.
  2. One URL per language version; no automatic IP or language redirects.
  3. Every version has hreflang to itself and all alternates, plus x-default; codes validated.
  4. Correct lang attribute on every page; inline language changes marked.
  5. Canonical tags point to the page’s own locale version.
  6. Per-locale sitemaps generated and submitted.
  7. Priority pages professionally translated or post-edited and reviewed in market.
  8. Glossary, style guide and translation memory in place.
  9. Forms, emails and confirmation messages localised, with enquiries routed to someone who can reply.
  10. Automated hreflang and broken-link checks added to the release process.

Frequently asked questions

Should we use subdirectories or country domains?

For most small and mid-sized organisations, subdirectories on the main domain are simpler and cheaper to run: one CMS, one deployment and shared domain authority. Country domains suit businesses with genuinely separate country operations and the budget to maintain separate sites.

Is machine translation acceptable for SEO?

Translating your own useful content with machine or AI tools is acceptable, provided a fluent person reviews and edits it. Google’s spam policies target scaled, low-value pages produced through automated transformations, including translation. Key commercial pages should still have professional translation or careful post-editing.

Do we need hreflang if we only have two languages?

Yes, it is still worthwhile. Even with two versions, hreflang helps search engines show the right version to each audience, especially for pages whose content is similar, such as product or pricing pages. It is straightforward to implement correctly from the start.

Should we redirect visitors automatically to their language?

No. Google advises against automatic redirection based on IP address or browser language, because crawlers and travelling users may never reach other versions. Show a suggestion banner and a clear language switcher, and remember the user’s choice.

How many languages should we launch with?

Launch only the languages you can maintain and support with enquiry handling. Many companies start with one or two priority markets and a focused set of pages, then expand once they have data on traffic, leads and the effort maintenance actually takes.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Google Search Central: Tell Google about localized versions of your page — accessed 9 November 2026. Supports the hreflang methods, return-link requirement, x-default, valid language and region codes, and that Google does not use hreflang or lang to detect language.
  2. Google Search Central: Managing multi-regional and multilingual sites — accessed 9 November 2026. Supports the URL structure trade-offs, avoiding IP-based redirects, one language per page and the local signals Google uses.
  3. W3C Internationalization: Declaring language in HTML — accessed 9 November 2026. Supports using the lang attribute on the html element with BCP 47 tags and marking inline language changes.
  4. Google Search Central: Spam policies for Google web search — accessed 9 November 2026. Supports the point that mass-produced, automatically translated content with little added value can count as scaled content abuse.

Adding languages to your website without losing search visibility?

We can review your URL structure, hreflang setup and translation workflow, or build a multilingual site that is maintainable from day one.