This document gives you a step by step guide for how to add your own translations to Tabliss! Translations are currently only available for the main dashboard (not the settings menu).
- Fork and checkout the repository
- Run
npm install
to download the dependencies - Add your language code to the languages array in
scripts/translations.js
- Run
npm run translations
to generate your language files insrc/locales/lang
- With the help of the default messages and descriptions, edit the JSON file with your translated messages
- Import your new translations into the
src/locales/locales.ts
file - Finally, add your language to the select dropdown in
src/views/settings/System.tsx
- Commit your updated files
- Submit a Pull Request back to the Tabliss repository!
You can test your changes at anytime by running a local development build of Tabliss with npm start
.