System Overview
Translato is a self-hosted translation management platform (TMS) built as a Turborepo monorepo. It provides a complete workflow for managing i18n keys across projects, languages, and teams.
1. Key Capabilities
| Feature | Description |
|---|---|
| Multi-project | Manage multiple translation projects from a single dashboard. |
| VCS Integration | Automated sync with GitHub, GitLab, and Bitbucket. |
| Real-time Collaboration | Multi-user editing with presence and conflict resolution. |
| Machine Translation | Support for DeepL, Google, OpenAI, Anthropic, and Gemini. |
| Translation Memory | Intelligent suggestions for similar and exact string matches. |
| CLI Tool | Full control for developers in local environments and CI/CD. |
| Backups | Automated and manual project snapshots with easy restore. |
2. Tech Stack
| Layer | Technology |
|---|---|
| Runtime | Node.js (≥ 18.0) |
| Language | TypeScript (5.3) |
| Backend | Fastify (4.25) |
| Frontend | Next.js 14 (App Router) |
| Database | PostgreSQL 16 with Prisma ORM |
| Cache/Real-time | Redis 7 with Socket.IO |
| Monorepo | Turborepo 2.0 |
| Package Manager | npm workspaces |
3. High-Level Architecture
┌──────────────────────────────────────────────────────────────────────┐
│ CLIENTS │
│ │
│ Next.js Web (:3002) CLI Tool Client SDK React SDK │
│ Cookie Auth API Key API Key API Key │
└───────┬──────────────────┬─────────────┬──────────────┬───────────────┘
│ │ │ │
▼ ▼ ▼ ▼
┌──────────────────────────────────────────────────────────────────────┐
│ FASTIFY API SERVER (:3003) │
│ │
│ Security: Helmet · CORS · Rate Limiter · CSRF · JWT Cookies │
│ │
│ 25 Route Files ─── 10 Services ─── 4 Plugins ─── 3 Utils │
│ │
│ Socket.IO (/ws) Swagger (/documentation) │
│ Redis Adapter OpenAPI 3.0 │
└───────┬──────────────────────────────────────┬───────────────────────┘
│ │
▼ ▼
┌──────────────┐ ┌──────────────┐
│ Redis │ │ PostgreSQL │
└──────────────┘ └──────────────┘
For deeper technical details, refer to: