Drizzle ORM localization
Documentation for multilingual Drizzle schemas without giving up type safety.
drizzle-i18n gives you two practical strategies: normalized translation tables or inline JSON locale maps. The docs cover setup, querying, locale typing, and mutation helpers for PostgreSQL, MySQL, and SQLite.
Choose a strategy
Translation table
Best for relational queries, normalized schemas, and missing-translation reporting.
JSON column
Best for compact schemas and per-locale reads or partial updates on a single row.
Getting started
Install the package, pick a dialect entry point, and wire your first localized schema.
ExploreTranslation table
Generate companion translation tables and query localized rows without manual join plumbing.
ExploreJSON columns
Store locale maps on the parent row and extract or update one locale at a time.
Explore