translator.html is a GUI tool to update translations.
- Checkout dcrweb repo
- Create a branch to do your work in
- Open
transifex_catalogs/translator.htmlin a browser - Load
en.jsonas the base file, and then the.jsonfile for your language as the second file - The panel on the left displays untranslated strings. Click the top one to load it into the right panel.
- Translate the string
- Hit "Save & next"
- When finished, hit export translation to download the new
.jsonfile for your language. - Overwrite the existing file with the new file, and create a pull request from your branch to master
In this directory is a go file which checks translation files for strings in i18n files which do not exist in the base English file.
go run main.go