Polyglot
Polyglot is an in-progress full-stack Translation Management System designed for academic and research software. It provides a centralized platform for researchers, translators, and developers to manage multilingual phrases, language metadata, translation context, and media assets as structured records instead of relying on spreadsheets. The system is being designed around asynchronous translation workflows, where translation jobs are queued and processed in batches using Redis while completed translations are persisted in PostgreSQL. Polyglot also introduces versioned publishing, allowing approved translations to be packaged as static JSON resources and distributed through a CDN for efficient use by research applications. The platform pairs a Next.js frontend with a FastAPI backend, PostgreSQL, Redis, and Docker.
FEATURES
Multilingual Project Management
Create translation projects with a source language and multiple target languages, keeping phrases, translations, and language configuration organized per project.
Phrase & Translation Management
Add, search, edit, rename, and archive phrases while maintaining stable developer-facing keys and viewing translations across all supported languages.
Context-Aware Translation
Attach context, usage information, and parameterized placeholders to phrases so translators and machine translation services have the information needed to produce accurate translations.
Asynchronous Translation Workflow
Queue translation jobs through Redis and process phrases asynchronously in batches, allowing large multilingual projects to be translated without blocking application requests.
Translation Status & Review
Track translation states such as missing, draft, reviewed, and approved per language, detect translations made outdated by source changes, and support structured review workflows.
Versioned Publishing
Publish approved translations as project versions so applications consume stable translation releases rather than unpublished database changes.
CDN Translation Delivery
Package published translations into static language-specific JSON resources designed for CDN distribution, reducing repeated database queries and providing fast localized content delivery.
Import & Export
Import existing Excel and CSV translation files with validation and preview workflows, and export project translations as Excel, CSV, or JSON.
Media Management
Associate images, audio, and other localized media assets with phrases so research applications can manage textual and media localization through the same workflow.
Developer Integration
Provide a developer-facing API and SDK workflow for retrieving published phrases and localized content directly from research applications and local experiments.
Secure Authentication
Authenticate users with JWT access tokens and HTTP-only refresh cookies, with server-managed sessions and protected application routes.
Containerized Development
Run the application stack through Docker with isolated frontend, backend, database, and supporting services for reproducible local development and deployment.