
EspanaSol
A real estate portal without heavy CMS, with AI-written property descriptions and automatic translation into 4 languages.
Key results
- PageSpeed 96-100 on desktop
- 4 languages (PL/EN/ES/DE) with automatic AI translation
- Property descriptions generated by Claude API
- Social media post generator from listings
- Full email hardening: SPF/DKIM/DMARC
Context / Problem
Client Katarzyna Tomczak needed a multilingual platform to showcase properties on the Costa del Sol market, a market where clients come from different countries (Poland, UK, Germany, Spain) and expect naturally sounding descriptions in their own language, not machine translations that “look machine-translated.”
Solution
Instead of WordPress with real estate plugins (heavy, slow, vulnerability-prone), I built the system from scratch on pure PHP with flat-file JSON architecture, no SQL database, dramatically simplifying hosting and backup.
Key elements:
- AI description generation: Claude API creates property descriptions from raw data (size, location, features)
- Translations: Gemini Flash automatically translates content to PL/EN/ES/DE
- Social media post generator: automatic creation of promotional content from listings
- Newsletter: full system with double opt-in, sent via PHPMailer/SMTP
- Email hardening: SPF, DKIM, DMARC from scratch
- Technical SEO: multilingual sitemap, correct hreflang tags
Technical challenges
The biggest challenge was designing the flat-file architecture to scale with a growing number of listings without migrating to a full SQL database, requiring a well-thought-out directory structure and JSON file indexing. The second challenge was setting up the AI pipeline (Claude + Gemini) so that content generation and translation were repeatable without manual correction every time.
Results
PageSpeed 96-100 on desktop, a rare result for real estate portals, which are usually weighed down by images and plugins. The platform runs in production and handles the full cycle: from adding a listing, through automatic translation, to promotion on social media.

