Languages and URL Structure for Export Websites: Five Changes Required to Add a Language

Each language version of an export website needs its own URL and reciprocal hreflang annotations that reference the other versions. The number of languages is best determined by where buyers are located and which languages the business can respond to enquiries in, then maintained for each version over time.

· updated October 18, 2026

A multilingual export website involves two separate decisions: which languages to offer, and how the URLs for each language are structured.

This site is published in four languages: English, Simplified Chinese, Traditional Chinese and Japanese. The URL structure, hreflang setup and font configuration described below are taken from its implementation.

Choosing languages

  • Enquiry handling: the business can respond to enquiries in that language. A page in a language that leads to replies only in another language may not meet buyer expectations.
  • Content review: each version, whether written directly or produced with AI or human translation, is reviewed for terminology and for the questions buyers in that market ask.
  • Maintenance: prices, specifications and terms are updated in every language version at the same time, so no version displays outdated information.

The language list is usually based on the markets where buyers are located, rather than on the number of languages a site can technically display.

URL structure

ApproachCharacteristicsTypical use
Subdirectory (/zh/, /ja/)Single domain; simplest to set up and maintainMost multilingual sites
Subdomain (zh.example.com)Each subdomain can be configured and hosted separatelyVersions operated by different teams
Country-code domain (example.jp)Clear country targeting; operated as a separate siteMarkets that require a separate local presence

The default language is usually served at the root rather than at /en/. If both / and /en/ return the same English page, the two URLs are duplicates, and one should redirect to the other. On this site, /en/ redirects to /.

hreflang requirements

hreflang annotations signal to search engines that a set of pages are language or regional versions of the same content. According to Google's documentation, the annotations must be reciprocal: each version lists every other version and itself. If two pages do not reference each other, the annotations may be ignored.

Language codes require attention to format. The URL segment can be lowercase (/zh-hant/), while the hreflang value should follow BCP 47 with the script subtag capitalised (zh-Hant). An incorrect value produces no visible error; the annotation may simply be ignored, and search engines may then show a different language version than intended.

Five changes required to add a language

Adding Japanese to this site required changes in five places. Four of them produce an error if omitted; the fifth does not.

  • Routing tables: the locale list and the BCP 47 form of each locale.
  • The message file for the new locale.
  • Every content file structured as one entry per language; the TypeScript compiler reports missing entries.
  • The font stack. A Japanese page without a Japanese font setting may fall back to a Chinese font, so characters such as 直 and 骨 render with Chinese glyph forms. This produces no error and is visible only to readers of Japanese.
  • The SEO check tables, so the new language is included in automated verification.

Because the font fallback is not detected by any automated check, it is documented in the procedure for adding a language.

Part ofExport Website Structure: Catalogue Organisation, Product Page Content and Purchase PathThree structural decisions for an export website when a client provides a product line without page requirements: catalogue organisation, product page content and purchase path.
Custom developmentMultilingual WordPress websites with clear language structure and localised contentMultilingual WordPress websites with language-specific URLs, hreflang, canonical setup, multilingual navigation, localised content, WooCommerce support, and a maintainable translation workflow.How we work →