- Notes on editing
translation.json
files. (Applies to all contributors wether you know how to code or not) - I don't know how to code or I don't know how git works, but I want to help with fixing a typo for a language used in Deskreen App or Website
- I know how to code and I know how git works, where should I start with fixing a typo for a language used in Deskreen App or Website?
Notes on editing `translation.json` files. (Applies to all contributors wether you know how to code or not)
When editing a translation.json
file, don't change the left part of translation before the :
.
Only change the text between "
on right side of :
sign.
Some content of translation.json
...
"Hello": "Hello"
...
...
"Hello": "Hola"
...
Bad example of your change (left side is different than in original):
...
"Greetings": "Hola"
...
Rule of thumb, don't edit a text on a left side of :
sign in translation.json
file. only edit a text between "
on the right side from :
symbol.
I don't know how to code or I don't know how git works, but I want to help with fixing a typo for a language used in Deskreen App or Website
You can use any simple text editor to edit translation.json
file.
Good text editors for different operating systems:
- Windows (Notepad)
- MacOS (TextEdit)
- Linux (gedit, mousepad etc.)
Find translation.json
file for language you need to edit here:
host app (that runs on computer)
client viewer app (that runs in a web browser)
You can use any simple text editor to edit translation.json
file.
Good text editors for different operating systems:
- Windows (Notepad)
- MacOS (TextEdit)
- Linux (gedit, mousepad etc.)
Follow guides on Deskreen website locales repo
open Raw translation.json
file -> right click in browser window -> Save as..
You can send me a Google Drive link to these files for translations of Deskreen App or Website, or attach them to email. Send your email with files here: [email protected] Please give different names for the files when attaching them. Also please include what is language name your fix is for. After that we will be adding your typo fix in new release. Thank you!
I know how to code and I know how git works, where should I start with fixing a typo for a language used in Deskreen App or Website?
Find translation.json
file for language you need to edit here:
host app (that runs on computer)
client viewer app (that runs in a web browser)
Fix them and then submit your PR. Thank you!
Follow guides on Deskreen website locales repo
When the Deskreen App edits done, then please fix tests if they are broken. And regenerate snapshots if needed.
in root ./
folder of project run this:
yarn jest --updateSnapshot
in Deskreen Viewer ./app/client
folder of project run this:
cd app/client
SKIP_PREFLIGHT_CHECK=true yarn test:nowatch -- -u