Translations
Votion's interface speaks English and German. Everyone picks a language under Settings › Appearance › Language; until they do, the workspace language from Settings › General › Language applies, and without one English. Emails and push notifications use the same rule for the person they go to.
This page is for people adding strings to core or to a plugin: how the catalogs work, how to translate, and which German words Votion uses.
What is translated
Menus, buttons, dialogs, settings, emails, push notifications and every plugin screen. Never translated: page titles and content, database, property and option names, workspace names, people's names, anything a person typed. Those are passed into a message as a value and shown as written. Invoices follow the client's language (Billing), not the interface language.
Error messages the API answers with follow the interface language too: the web app sends it as Accept-Language, and the API translates the messages people meet (sign-in, registration, account, members, access, trash, uploads, form validation). Messages meant for developers — a malformed request, an unknown id — stay English, and so does every answer to a client that sends no Accept-Language (MCP, scripts).
Dates, numbers and currency follow the language's format (formatDate, formatNumber, formatCurrency); the first day of the week and the time zone stay under Settings › Appearance › Date & time.
Catalogs
| Where | What |
|---|---|
apps/web/src/i18n/locales/en.ts | Core's English, the source. Every core string starts here. |
apps/web/src/i18n/locales/de.ts | Core's German. Translates a subset of en.ts. |
apps/web/src/i18n/locales/database/*.ts | The database's strings (database.…), split by surface; each file exports en and de, mounted in en.ts / de.ts. |
apps/api/app/lib/i18n/en.ts, de.ts | The server's strings: emails, push notifications, and API error messages (errors, validation). |
| A plugin's own files | A namespace per plugin, registered with registerMessages (see Building plugins). |
| A plugin's api half | The plugin's server strings (mails, notifications, what its routes answer, its permission and Search tab labels, its error messages), registered with api.registerMessages and read with api.translate / api.translatorForUser / api.translatorForRequest (see Building plugins). |
A plugin's manifest.json | Name, descriptions, Setup texts and shortcut labels in other languages, under translations (see Building plugins). |
A key a language does not translate falls back to English, so a new string never shows up blank. The language menus offer only languages that have a core catalog.
Adding a string to core
- Add the English text to
apps/web/src/i18n/locales/en.tsunder the surface it belongs to (settings.general.…,nav.…). Shared words (Cancel,Save,Delete,Done, …) are undercommon; reuse them. - Use it:
import { t } from '../i18n', thent('settings.general.icon')in a template or acomputed.tis reactive — the text follows a language switch without a reload. For a constant list (navigation entries, options) readtin a getter or acomputed, not once at module load. - Add the German text at the same key in
de.ts. The type ofde.tsonly allows keysen.tshas. - Run the web specs:
src/i18n/catalogs.spec.tsfails when a language has a key English lacks, other placeholders than English, or a plural English does not have.
Placeholders are {name}: t('nav.addTo', { section: name }). A plural is an object of forms picked by count:
sessionLengthDays: { one: '{count} day', other: '{count} days' },zero is used for a count of 0 when present; the other forms follow the language's plural rules (Intl.PluralRules).
Relative times: relativeTime(iso) in lib/relativeTime.ts ("3 minutes ago" / "vor 3 Minuten", through Intl.RelativeTimeFormat); the compact labels (relativeShort) and the "Today, 9:41" footers (lib/lastEdited.ts) read the time group. Never build "… ago" by hand.
Translating an API error message
The API keeps throwing plain English. To translate a message people see, add its exact English text under errors in apps/api/app/lib/i18n/en.ts and the German at the same key in de.ts; app/lib/i18n/api_errors.ts matches it by text. VineJS's own messages are translated by rule under validation (without the field name — the web shows a field's error under its own input).
A plugin's errors follow the same rule: a 4xx a plugin route throws with a plain-English message reads in the interface language when the plugin's server catalog has that exact text; messages with values are translated by the plugin with api.translatorForRequest.
Adding a language
- Copy
apps/web/src/i18n/locales/de.tsto the new code (fr.ts) and translate it; register it incatalogsand add it toLANGUAGES(code, its own name, the Intl locale) inapps/web/src/i18n/index.ts. - Add the server catalog in
apps/api/app/lib/i18n/and the code toSUPPORTED_LANGUAGES. The API refuses a language without a catalog. - Plugins add the language to their own
registerMessagescalls (web and api half); until they do, their screens and mails show English.
German glossary
Votion's German uses du, short sentences and Notion's German words where Votion copies Notion. Product names (Votion, Plugin, Workspace) stay as they are.
| English | Deutsch |
|---|---|
| Workspace | Workspace (der) |
| Workspace language | Workspace-Sprache |
| Page | Seite |
| Database | Datenbank |
| Property | Eigenschaft |
| View | Ansicht |
| Settings | Einstellungen |
| Appearance | Darstellung |
| General | Allgemein |
| Members | Mitglieder |
| Owner | Inhaber |
| Home | Startseite |
| Inbox | Posteingang |
| Trash | Papierkorb |
| Favorites | Favoriten |
| Private | Privat |
| Search | Suchen (button), Suche (screen) |
| Theme | Design |
| Density | Dichte |
| Time zone | Zeitzone |
| Start week on | Woche beginnt am |
| Workspace default | Workspace-Standard |
| Accent colour | Akzentfarbe |
| Icon | Symbol |
| Sign out | Abmelden |
| Cancel / Save / Delete / Done | Abbrechen / Speichern / Löschen / Fertig |
| Try again | Erneut versuchen |
| Saved. / Saving… | Gespeichert. / Wird gespeichert… |
| Sidebar | Seitenleiste |
| Shortcuts (sidebar) | Verknüpfungen |
| Keyboard shortcuts | Tastenkürzel |
| Ctrl / Shift / Del | Strg / Umschalt / Entf |
| Share | Teilen |
| Full access / Can edit / Can comment / Can view / No access | Vollzugriff / Kann bearbeiten / Kann kommentieren / Kann ansehen / Kein Zugriff |
| Invite / Invite link | Einladen / Einladungslink |
| Move to | Verschieben nach |
| Move to Trash / Delete permanently | In den Papierkorb verschieben / Endgültig löschen |
| Restore | Wiederherstellen |
| Duplicate | Duplizieren |
| Copy link | Link kopieren |
| Turn into | Umwandeln in |
| Page history / Last edited | Seitenverlauf / Zuletzt bearbeitet |
| Untitled | Ohne Titel |
| Cover / Reposition | Titelbild / Position ändern |
| Side peek / Center peek / Full page | Seitenvorschau / Mittige Vorschau / Ganze Seite |
| Templates | Vorlagen |
| Subpage | Unterseite |
| Text / Heading 1 / To-do list | Text / Überschrift 1 / To-do-Liste |
| Bulleted list / Numbered list / Toggle list | Aufzählungsliste / Nummerierte Liste / Toggle-Liste |
| Quote / Divider / Callout / Code | Zitat / Trennlinie / Callout / Code |
| Link to page / Mention | Link zur Seite / Erwähnen |
| Text color / Background color | Textfarbe / Hintergrundfarbe |
| Comment / Reply / Resolve / Reopen | Kommentar / Antworten / Erledigen / Wieder öffnen |
| Mark all as read / Archive | Alle als gelesen markieren / Archivieren |
| Maintainer | Verwalter |
| Group | Gruppe |
| Two-factor authentication | Zwei-Faktor-Authentifizierung |
| Recovery codes | Wiederherstellungscodes |
| API key / Revoke | API-Schlüssel / Widerrufen |
| Integrations | Integrationen |
| Push notifications | Push-Benachrichtigungen |
| Automation / Trigger / Action | Automatisierung / Auslöser / Aktion |
| Run history | Ausführungsverlauf |
| Sign in / Log in | Anmelden |