Menu

How We Built a Multi-Language Travel Site with Astro and Zero CMS Costs
📰

How We Built a Multi-Language Travel Site with Astro and Zero CMS Costs

DEV Community: astro·Marrakech Transport·about 3 hours ago
#7nixTRGE
#devtoastro#devto#dev#build#transfer
Reading 0:00
15s threshold

We run a private transfer service in Marrakech, Morocco. Our site — navetteforyou.com — serves six languages, loads in under two seconds, and costs us nothing to host. Here is how we built it.

The Problem

Most transfer booking sites in Morocco run on WordPress with a booking plugin. They are slow, hard to translate, and expensive to maintain. We wanted something fast, multilingual, and cheap to operate at scale.

Why Astro

We chose Astro because it generates static HTML at build time. No server runtime, no database, no CMS subscription. The pages are pre-rendered and deployed to Vercel's edge network. Time to first byte is typically under 100ms worldwide.

Multi-Language Without a CMS

Instead of a headless CMS, we store all content in Markdown files organised by locale:

src/content/ en/ airport-transfer.md day-trips.md fr/ transfert-aeroport.md excursions.md ar/ ...

Enter fullscreen mode

Exit fullscreen mode

Each file has frontmatter with the route slug, SEO metadata, and pricing flags.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.