PHP Dev
damienseguy's profile
Damien seguy@damienseguy•Apr 02
21.3K
Exakat's profile
Post cover image

Building WordPress Multilingual Plugin with Claude Code

Avatar of minersThe Miners•From blog.codeminer42.com•Mar 26•11m read time

A developer built a custom WordPress multilingual plugin in two days using Claude Code after Polylang broke their production blog. The plugin uses no custom database tables, relying on WordPress taxonomy and post meta instead. It supports AI-powered translation via Ollama, Anthropic, and Gemini, with URL prefixes, hreflang SEO tags, REST API filtering, and both Gutenberg and Classic Editor support. The post details the TDD approach (156 PHPUnit tests using real WordPress internals via wp-env), the AI translation prompt engineering to avoid AI-sounding output, and three production bugs Claude got wrong: taxonomy slug mismatch, replacing instead of merging tax_query, and OG meta tag conflicts with AIOSEO. Key lessons include deploying to production early, always merging query parameters rather than replacing them, and using curl to test as social crawlers would.

Sort:

damienseguy's user avatar
Damien seguy
@damienseguy
Joined Oct 25. 2023
21.3K
Exakat's profile

Exakat

Verified

PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard