Language translations and localization utilities for the game Cosmic Reach
When creating a pull request MAKE SURE THAT:
- Your name is added to CREDITS.txt
- Do NOT use AI for translations, unless you are looking up single words in dictionaries / translation websites.
- You modify AS FEW FILES AS POSSIBLE! For example, don't modify german to fix typos if your pull request is supposed to be adding spanish translations. Make TWO separate pull requests instead.
- (OPTIONAL) If adding a new language, post the entire alphabet if possible. This will make it easier to add relevant font glyphs for the language.
-
Sign in / Sign up for GitHub: https://github.com/login
-
On your fork, click the following:
You should end up on a screen something like this after around 30 seconds:
-
Right-click on assets/lang and select new file. You should name it the language code for your language, e.g. english is en and spanish is es, with .json at the end
-
Click on en-us.json and then click ctrl + A and ctrl + C to copy it. On mac use command instead of ctrl.
-
Go to the new file you made and click ctrl + V (Command + V on mac) to paste the english language files in.
-
Change these files by translating the english text to your chosen language.
-
Add your name to credits.txt under the thing you helped with. If there is no line for what you helped with, add it
-
Then, put a description of the changes (e.g. Added x language) and click commit and push
-
Fill in the PR title and description then click create pull request
-
You are now done! Now you just have to wait for FinalForEach to approve it. You and others can also make comments on your PR.