In this repository you will find the translation files that SPCode will automatically download and use.
To suggest a change in any of the files, fork the repo, make your changes and make a pull request. If everything seems fine, your changes get merged and SPCode will reflect your changes in no time.
Same as before. Fork the repo, clone the default.xml
translation file, and begin translating. Once you're done, pick a 2-3 letter language code for your new file and submit the pull request.
Simply, below the first node called <language>
, add a node called <rtl>
and set its inner text to true
, like this:
<rtl>true</rtl>
If your language is NOT RTL, you do not need to do anything.
- You must not change the structure of the XML file, including the name of any node (text between
<>
) UNLESS you're updating a node name to match the one fromdefault.xml
. - Although the order in which you add new nodes does NOT matter, try to maintain the order of the nodes in the default file.
- To know which nodes to add, you can:
- Search for the phrase you see in English when you switch to your language in the default file
- Use a tool like DiffChecker to compare your language file with the default file to see which nodes are missing
- You can test your language in the editor before you send the PR! Just place the file inside the
translations
folder in your SPCode installation directory and restart the editor. After that, you will see your language in the languages box in Options.