Skip to content

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 ​

WhereWhat
apps/web/src/i18n/locales/en.tsCore's English, the source. Every core string starts here.
apps/web/src/i18n/locales/de.tsCore's German. Translates a subset of en.ts.
apps/web/src/i18n/locales/database/*.tsThe 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.tsThe server's strings: emails, push notifications, and API error messages (errors, validation).
A plugin's own filesA namespace per plugin, registered with registerMessages (see Building plugins).
A plugin's api halfThe 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.jsonName, 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 ​

  1. Add the English text to apps/web/src/i18n/locales/en.ts under the surface it belongs to (settings.general.…, nav.…). Shared words (Cancel, Save, Delete, Done, …) are under common; reuse them.
  2. Use it: import { t } from '../i18n', then t('settings.general.icon') in a template or a computed. t is reactive — the text follows a language switch without a reload. For a constant list (navigation entries, options) read t in a getter or a computed, not once at module load.
  3. Add the German text at the same key in de.ts. The type of de.ts only allows keys en.ts has.
  4. Run the web specs: src/i18n/catalogs.spec.ts fails 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:

ts
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 ​

  1. Copy apps/web/src/i18n/locales/de.ts to the new code (fr.ts) and translate it; register it in catalogs and add it to LANGUAGES (code, its own name, the Intl locale) in apps/web/src/i18n/index.ts.
  2. Add the server catalog in apps/api/app/lib/i18n/ and the code to SUPPORTED_LANGUAGES. The API refuses a language without a catalog.
  3. Plugins add the language to their own registerMessages calls (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.

EnglishDeutsch
WorkspaceWorkspace (der)
Workspace languageWorkspace-Sprache
PageSeite
DatabaseDatenbank
PropertyEigenschaft
ViewAnsicht
SettingsEinstellungen
AppearanceDarstellung
GeneralAllgemein
MembersMitglieder
OwnerInhaber
HomeStartseite
InboxPosteingang
TrashPapierkorb
FavoritesFavoriten
PrivatePrivat
SearchSuchen (button), Suche (screen)
ThemeDesign
DensityDichte
Time zoneZeitzone
Start week onWoche beginnt am
Workspace defaultWorkspace-Standard
Accent colourAkzentfarbe
IconSymbol
Sign outAbmelden
Cancel / Save / Delete / DoneAbbrechen / Speichern / Löschen / Fertig
Try againErneut versuchen
Saved. / Saving…Gespeichert. / Wird gespeichert…
SidebarSeitenleiste
Shortcuts (sidebar)Verknüpfungen
Keyboard shortcutsTastenkürzel
Ctrl / Shift / DelStrg / Umschalt / Entf
ShareTeilen
Full access / Can edit / Can comment / Can view / No accessVollzugriff / Kann bearbeiten / Kann kommentieren / Kann ansehen / Kein Zugriff
Invite / Invite linkEinladen / Einladungslink
Move toVerschieben nach
Move to Trash / Delete permanentlyIn den Papierkorb verschieben / Endgültig löschen
RestoreWiederherstellen
DuplicateDuplizieren
Copy linkLink kopieren
Turn intoUmwandeln in
Page history / Last editedSeitenverlauf / Zuletzt bearbeitet
UntitledOhne Titel
Cover / RepositionTitelbild / Position ändern
Side peek / Center peek / Full pageSeitenvorschau / Mittige Vorschau / Ganze Seite
TemplatesVorlagen
SubpageUnterseite
Text / Heading 1 / To-do listText / Überschrift 1 / To-do-Liste
Bulleted list / Numbered list / Toggle listAufzählungsliste / Nummerierte Liste / Toggle-Liste
Quote / Divider / Callout / CodeZitat / Trennlinie / Callout / Code
Link to page / MentionLink zur Seite / Erwähnen
Text color / Background colorTextfarbe / Hintergrundfarbe
Comment / Reply / Resolve / ReopenKommentar / Antworten / Erledigen / Wieder öffnen
Mark all as read / ArchiveAlle als gelesen markieren / Archivieren
MaintainerVerwalter
GroupGruppe
Two-factor authenticationZwei-Faktor-Authentifizierung
Recovery codesWiederherstellungscodes
API key / RevokeAPI-Schlüssel / Widerrufen
IntegrationsIntegrationen
Push notificationsPush-Benachrichtigungen
Automation / Trigger / ActionAutomatisierung / Auslöser / Aktion
Run historyAusführungsverlauf
Sign in / Log inAnmelden
EmailE-Mail