How Tarotas serves 78 tarot cards in 5 languages from one React codebase
Inithouse built Tarotas, a tarot card reflection app, using a single React and Vite codebase that serves content in Czech, Slovak, English, German, and Polish. The app covers 78 cards across five languages, generating 390 card detail pages and 124 unique URLs, each cross-linked with hreflang alternates. The team chose English-only card slugs across all language routes to reduce routing complexity and simplify cross-language linking. An early attempt at auto-redirecting users based on browser language was abandoned after negative feedback, with the URL itself becoming the sole source of truth for language selection. Both the hreflang head tags and the XML sitemap are generated from the same route configuration to ensure bidirectional alternate links stay consistent.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in