Engineering case study · POForge
Translating WordPress without breaking it
A pipeline that keeps plugin placeholders intact, reuses earlier work and scales from small plugins to large projects.

Challenge
WordPress developers need their products in dozens of languages. Manual translation is slow and expensive, and machine translation that ignores placeholder syntax can break the plugin.
Engineering solution
- 01
Gettext-aware translation
Prompts and processing respect WordPress conventions, preserving %s, %d, %1$s, HTML tags and msgctxt.
- 02
Memory first
Each string is checked against translation memory before any AI call. Only new strings use credits, so updating a plugin costs little or nothing.
- 03
Routing by job size
Jobs are routed by the number of AI strings: direct for small jobs, parallel for medium ones, and batch for large ones.
- 04
Resilient job handling
Credits are reserved at job creation and finalized on completion, and failed jobs release them. Jobs interrupted by a restart are recovered and the queue moves on.
Technologies
- Next.js
- Prisma
- PostgreSQL
- OpenAI Batch API
- Gettext
Outcome
A browser-based workflow from POT file to a deployment-ready language pack of PO, MO and JavaScript files, with human review before export.
Have a complex problem to solve?
Let's talk about your next product, platform or engineering challenge.