- //NOAModerator
- Posts : 43
Reputation : 9
Join date : 2018-07-18
Age : 25
Location : Germany
Guide - How to translate and save files on Github
Sat Nov 03, 2018 1:15 pm
This Guide will show you how to translate and save files on Github.
First of all, if you are the first translator in your language you can follow >>this Guide<< to setup your translation files
Now go on translate the English sentences in your language
For example:
When you are done with your translation make sure you didn't damage the xml - that means you accidentally delete a <,> or /.A good help there is >>This XML validator<< just copy the whole file with ctrl + a and paste it in the validator.
When you think everything is okay, you need to propose the file change
Scroll down to the bottom, there you'll see this:
Click on Propose file change
Now your're done with editing and saving the file - you made a request to us that you want to change your edited lines in your language-pack.
If you get more translators from time to time please edit smaller sections and send more requests. That can help you to find any writing and syntax mistakes.
Learn something about Github, to make it easier for you.
First of all, if you are the first translator in your language you can follow >>this Guide<< to setup your translation files
First steps
- Create a Github account and verify your email adress
- Open our >>REPOSITORY<<
- Navigate into your localization-pack (for my example de)
Inside your pack you'll find XML files. Open that one you want to translate - Click on the pencil at the top
- Now you are in Edit-Mode. At this moment you can write into the files.
Editing the files
At this point you've found a file you want to translate and opened the edit mode. Please be aware! Only edit between- Code:
<Text></Text>
Now go on translate the English sentences in your language
For example:
- Code:
<GameDBLocalizedString> <LocID>OPTIONS_ALLOW_DEATH</LocID> <Text>Death allowed</Text> </GameDBLocalizedString>
- Code:
<GameDBLocalizedString> <LocID>OPTIONS_ALLOW_DEATH</LocID> <Text>Tode erlaubt</Text> </GameDBLocalizedString>
When you are done with your translation make sure you didn't damage the xml - that means you accidentally delete a <,> or /.A good help there is >>This XML validator<< just copy the whole file with ctrl + a and paste it in the validator.
When you think everything is okay, you need to propose the file change
Scroll down to the bottom, there you'll see this:
Click on Propose file change
Create a Pull request
To request your changes now in the master code, you'll need to create a pull request. Just click on the next site that showedNow your're done with editing and saving the file - you made a request to us that you want to change your edited lines in your language-pack.
Tips:
If you get more translators from time to time please edit smaller sections and send more requests. That can help you to find any writing and syntax mistakes.
Learn something about Github, to make it easier for you.
- hailun2008medic
- Posts : 2
Reputation : 0
Join date : 2018-10-30
Location : China
Re: Guide - How to translate and save files on Github
Sat Nov 03, 2018 6:44 pm
Useful to me,thx!
- juraj.horvathspecialist
- Posts : 146
Reputation : 8
Join date : 2018-08-07
Age : 44
Location : Bratislava, Slovak Republic
Re: Guide - How to translate and save files on Github
Tue Nov 06, 2018 11:52 am
Thanks for guide
- PuckStarresident
- Posts : 20
Reputation : 0
Join date : 2018-09-30
Re: Guide - How to translate and save files on Github
Wed Nov 14, 2018 4:02 pm
About
"Create a Pull request
To request your changes now in the master code, you'll need to create a pull request. Just click on the next site that showed
Now your're done with editing and saving the file - you made a request to us that you want to change your edited lines in your language-pack. "
Don't forget to click on Create Pull request" a second time!!!!!
After you first click it the page changes and you have to click again on pull request.
"Create a Pull request
To request your changes now in the master code, you'll need to create a pull request. Just click on the next site that showed
Now your're done with editing and saving the file - you made a request to us that you want to change your edited lines in your language-pack. "
Don't forget to click on Create Pull request" a second time!!!!!
After you first click it the page changes and you have to click again on pull request.
Permissions in this forum:
You cannot reply to topics in this forum