Thanks for taking the time to contribute to this card.
Steps for adding a new translation:
Translation files are located under src/localize/languages
- Make a copy of
en.json
- Rename it to your two characters language
xx.json
- Translate only the values
For the card to be able to use the translation it needs to be added to src/localize/localize.ts
- Add an import statement:
import * as xx from './languages/xx.json';
- Add it to the language variable
const languages: any = { en: en, he: he, nl: nl, pl: pl, ru: ru, xx: xx, // Add alphabeticly (without this comment) };
Add your translation to the README.md
under the languages section:
- English
- Hebrew
- Nederlands (Dutch)
- Polish (polski)
- Russian
- Your new language
Commit your changes and create a Pull Request