English version by Peter Wone
- Open the vscode-print repo.
- Log in to GitHub.
- Fork the repo and clone your fork to your workstation.
- In the root of the repo there is a folder
i18n
. It contains one child folder for each supported language. The naming scheme is ISO639-3 and this is not negotiable. Look up the three letter code for your language using this website. - Create a folder with this name (
eng
for English,fra
for French etc) as an immediate child of thei18n
folder. - Copy the file
packagei18n.json
from the/i18n/eng
folder to the folder you just created for your language. - Use a UTF8 capable editor (VS Code is a good choice) to edit this file.
- Replace each English string with your translation.
- Translation of jargon and technical terms is tricky but you are a subject matter expert, so ask yourself: What would I see in my source code? How would I write this in email to another programmer?
- DO NOT translate the keys (the property names).
- Translate
README.md
andmanual.md
toREADME.xyz.md
andmanual.xyz.md
where xyz is your language code. - There's probably no point translating this file unless you seriously expect translation from your language to another.
- Save, stage, commit and push your changes to your fork on GitHub.
- Raise a PR to tell me to merge your updates into the next release.
- Register your language in
gulpfile.js
so it will be built
I encourage you to credit yourself for translation in a by-line at the start of each document under the main heading. It is possible to make your name a mail link but there is no need since people can use your fork to raise issues.