Dev.to WebDev 🛠 Dev 👁 0 📖 2 min read

Building an independent bilingual travel guide to Syria with Next.js and Payload CMS

Most travel information about Syria online is either years out of date or written from far away. Syria Up Close (سوريا عن قرب) is an attempt to fix that: an independent travel guide to Syria as it is today, with dated in

Most travel information about Syria online is either years out of date or written from far away. Syria Up Close (سوريا عن قرب) is an attempt to fix that: an independent travel guide to Syria as it is today, with dated information from correspondents on the ground, in Arabic and English.

This post is about how it is built, and a few things that turned out to matter more than expected.

The stack

  • Next.js for the site itself
  • Payload CMS as the admin panel, so correspondents can add and update content without touching code
  • PostgreSQL (Neon) for the database
  • Vercel for hosting, with images in Vercel Blob

Everything runs on free tiers. The project is non-commercial, so keeping the running cost at zero was a hard requirement, not a nice-to-have.

Arabic first, English second

The main audience is Arabic-speaking, so the site is built right-to-left first and English is the second language, not the other way round. A few practical lessons:

  • Use logical CSS properties (margin-inline-start, padding-inline-end) everywhere instead of left/right. It makes the RTL and LTR versions come from the same styles.
  • Pick a typeface family that has proper Arabic and Latin cuts that sit well together. We use IBM Plex Sans Arabic and IBM Plex Sans.
  • Icons with direction (arrows, "next" chevrons) have to flip; icons without direction must not.

Every practical fact has a date

Opening hours, border crossings, prices and transport change quickly. Rather than pretending information is permanent, every practical section shows when it was last checked. It is a small piece of UI, but it changes how much readers can trust the page.

Search engines and AI assistants

People increasingly ask AI assistants where to travel, so the site is open to both search crawlers and AI crawlers, and the key pages answer common questions directly (how to get there overland, where to go in summer, what a first visit looks like) instead of hiding the answer under long introductions.

What's next

More cities, more correspondents, and more short day-trip guides. If you have built bilingual RTL/LTR sites with Payload or Next.js, I would like to hear what worked for you.

You can see the result at upclosesyria.com.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.