Giter VIP home page Giter VIP logo

spcode-translations's Introduction

SPCode Translation Files

In this repository you will find the translation files that SPCode will automatically download and use.

How can I suggest a modification?

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.

How can I add a language that is not in SPCode?

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.

What if my language is written from right to left (RTL)?

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.

Translation tips and guidelines

  • 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 from default.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.

spcode-translations's People

Contributors

azalty avatar hexer10 avatar maxijabase avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.