Translations
The app ships in English and Turkish. The language is picked from the browser and can be changed from the header (文A icon) or Settings → General. The choice is saved in localStorage under zimmet-lang.
- Strings live in
src/i18n/en.ts(the source of truth) andsrc/i18n/tr.ts.tr.tsis typed againsten.ts, so a missing or extra key failstsc.t('…')keys are type-checked too. - Plurals use i18next’s
_one/_othersuffixes. - Dates use the matching
date-fnslocale throughuseDateLocale. - Activity and notifications are stored as data (
kind+ IDs), not sentences, so they render in the viewer’s language. - User content (type names, labels, comments, file names) is not translated.
Adding a language
Section titled “Adding a language”- Copy
src/i18n/tr.tsand translate it. - Register it in
src/i18n/index.ts:languages,resourcesanddateLocales. - Run
npm run buildto catch missing keys.