Contributing Translations
Checkmate supports multiple languages. This guide explains how to contribute translations.
How to Add a New Language
-
Create a new JSON file in
client/src/locales/named with the language code (e.g.,it.jsonfor Italian) -
Copy the structure from
en.jsonand translate all values -
Add the language to the language selector in the UI
Translation Guidelines
- en.json is the reference localization file, all keys should be declared here and mirrored in other localization files
- Translate only the values
- Use formal/informal tone consistently
- Test your translations in the UI
File Structure
client/src/locales/ ├── en.json # Source language ├── es.json # Spanish ├── de.json # German └── [lang].json # Your language
Testing Translations
- Start the development server:
npm run dev - Go to Settings → Language
- Select your language
- Verify all strings display correctly