This repository contains translation files for LinguaCode. The main reason that I've separated from the LinguaCode's Core is that in this way it will be much more easy to make a translations. If you've any kind of suggestions, that can help with the translations (like some corrections), you can open issue here.
git clone git@github.com:LinguaCode/linguacode-translations.git
- add new language file in ISO 639-1 standard, like for japanese it would be jp.js.
- create a pull request to merge master branch.
- Visit Crowdin's LinguaCode page.
- Open the language that you planning to translate.
- translate it :)
- Read what is ISO 639-1 standard.
- open src folder.
- download en.js file.
- translate all lines with the definition property (ie look at other translations).
- rename language file in ISO 639-1 standard, like for italian it would be it.js.
- send that file to email address.
Until we haven't automatized every peace of $hit, to convert translations into a usable data:
- Download the whole archive of the last build translation from the Crowdin's LinguaCode page.
- Extract the content into a tools/json2tree/input/ folder.
- Run
npm run json2tree
. - Move all content from tools/json2tree/output/ into a languages/.
- Create a pull request.
##License linguacode-constants is licensed under MIT.