Back to the blog

Choose the language before rendering the page

How the site handles language selection and shareable links.

Keep shared links predictable

We put the language in Spanish and German URLs so a shared link opens the same page for the next reader. The English site uses unprefixed paths.

Remember the reader’s preference

For an unprefixed URL, the site checks the language cookie and then the browser’s preferences. An explicit switch takes precedence and updates the cookie.