Translation of the DotStrike game
Anyone can help translate DotStrike into any language.
If you have experience with GitHub, then you know what to do. 😉
If you do not know what GitHub is or do not know how to use it, then this short guide is for you.
de.json - German translation
ru.json - Russian translation
template.json - Template for translation into any language
tr.json - Turkish translation
uk.json - Ukrainian translation
zh.json - Chinese (simplified) translation
The translation of a sentence consists of the text in quotation marks (original in English), a colon and the text in quotation marks (translation).
Example:
"Hello": "Привіт"
English text before colon, Ukranian text after colon.
You can get started the easy way or the hard way.
- You need to create a fork of the project. You can do this by clicking on the "Fork" button in the upper right corner.
- Select the account under which you will fork.
- You need to wait a bit while a copy of the project is being created.
- After a successful fork, you can make changes to the project.
To do this, you need to be able to use the git tool. I will not describe this method, it is better to use the easy way. 🙂
If you are editing an existing localization file, open it and click on the pencil icon. If you hover over it, the prompt "Edit this file" will appear. Make edits. Go down to the very bottom of the page and click on the "Commit changes" button.
To do this, you need to create a copy of the template.json file.
Steps:
- You need to open the
template.jsonfile. - Copy content.
- Create next to this file a new file. The file name must contain the language name. Example
ukranian.json(in the future, the file name will be changed to an abbreviated one). - Paste copied content.
- Edit and save using the "Commit changes" button.
- Go to the "Pull requests" page at
github.com/<YOUR_USERNAME>/DotStrike-translation/pulls. You can access this page by clicking on the "Pull requests" tab in your copy of the project. - Click on the "New pull request" button.
- It remains only to click on the "Create pull request" button and we will receive your changes. And once again on the "Create pull request" button.
If you have any questions, you can find answers on the Internet.
