Tarotas is a tarot card app we build at Inithouse. You shuffle, draw a card, and read a calm interpretation. No account required, no fortune-telling claims. Just a quiet space for reflection.

The tricky part: we serve it in five languages (Czech, Slovak, English, German, Polish) across 78 tarot cards, all from a single React codebase on a single domain. That's 390 card detail pages, plus suit indexes, language homepages, and category pages. Our sitemap has 124 unique URLs, each cross-linked with hreflang alternates to the other four language variants.

Here's how we set it up and what we learned along the way.

The URL scheme

We went with a language prefix in the path. English lives at the root (it's also the x-default fallback), everything else gets a two-letter prefix: