A multilingual website offers its content in more than one language, with each version at its own address and the language set in the code.
Each language should have its own URL, such as /en/ or a separate domain, so people and search engines can link to it. The page declares its language with the `lang` attribute, and Hreflang connects the versions.Source 1
Translation is only part of it: dates, numbers, currencies and even the length of words change layouts, so the design has to leave room.Source 2
How Regular approaches it
Regular sets up languages in the framework and the CMS together, so every page has a version per language and editors see which ones are missing.
BenjaminWeb designer for sustainable and circular businessesSources and further reading
- Internationalization, Astro docsdocs.astro.build
- Internationalization, W3Cw3.org