Giter VIP home page Giter VIP logo

translations's Introduction

translations

Translations for Rainway user interfaces.

Status

Check the status of our existing translations here!

How to contribute

Here's how to help us translate Rainway into your language:

  1. Create a GitHub account, if you haven't yet.

  2. Download en-US.json to your computer.

  3. Look up your language's code (and if necessary, your region code) and rename the file. For example, is.json is Icelandic; ar-EG.json is Arabic as spoken in Egypt.

  4. Translate all the text in the file. Make sure the {{template-names}} and <1>tag numbers</1> are preserved. You can move them around to suit your language's grammar, but Rainway needs them to know where to insert variable text and formatting.

    When translating something like hours-played and hours-played_plural, the right approach depends on your language's rules for plurals. You can use this tool to verify which suffixes your language needs: type the language code into where it says Enter a language code in the bottom-right box, then check the Suffixes and Sampling counts outputs.

    For example, a ru (Russian) translation might need three different translations, that inflect the word ча́с (hour) three different ways: hours-played_0 (for numbers ending in 0/5/6/7/8/9), hours-played_1 (for numbers ending in 1) and hours-played_2 (for numbers ending in 2/3/4). But a ja (Japanese) translation can just get rid of the _plural translation, because there are no plurals in Japanese.

    If this is confusing, don't worry too much about getting it right: we can probably help you figure it out once you submit your translation.

    You can also use the translation editor built into the Rainway Dashboard and Web Client. Open it from the language settings page, select the appropriate language and you can import a translation file you're currently working on and see your edits show up in the UI instantly. Your changes are saved to your account, so you can switch between the Dashboard and Web Client as you work. When you're done, just use the button to export back to JSON.

  5. Go here and click “Add file” → “Create new file”.

  6. GitHub will show you an editor to paste your translation into. Don't forget the file name (xx.json or xx-YY.json)!

  7. At the bottom of the page, click “Propose new file”, and then “Create pull request” on the next screen.

  8. Write comments for us in the “Leave a comment” field, then confirm by clicking “Create pull request”.

  9. Once we check and accept your work, your translation will be in Rainway.

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.