Translations for Rainway user interfaces.
Here's how to help us translate Rainway into your language:
- Create a GitHub account, if you haven't yet.
- Download
en-US.json
to your computer. - 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. - 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
andhours-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) andhours-played_2
(for numbers ending in 2/3/4). But aja
(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.
- Go here and click “Add file” → “Create new file”.
- GitHub will show you an editor to paste your translation into. Don't forget the file name (
xx.json
orxx-YY.json
)! - At the bottom of the page, click “Propose new file”, and then “Create pull request” on the next screen.
- Write comments for us in the “Leave a comment” field, then confirm by clicking “Create pull request”.
- Once we check and accept your work, your translation will be in Rainway.