Language translations and localization utilities for the game Cosmic Reach. This project is licensed under MIT. The font is mostly community contributed, with some sprites being loosely based off of Twemoji which is licensed under CC BY 4.0
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:
-
Go into assets/base/lang and duplicate the en_us folder. You should name the new folder the language code for your language, e.g. english is en and spanish is es. You can find a list of language codes here. For example en_gb would be English (United Kingdom)
-
You can do this by left clicking on en_us and then pressing ctrl + C to copy it. (Command + C on mac)
-
To paste it you then press ctrl + V. (Command + V on mac)
-
You can now enter this new folder and change the files by translating the english text to your chosen language. You can use a website like this to make it easier
-
After you are happy with your progress add your name to credits.txt under an appropiate heading. If required you may add a new heading.
-
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 finished! Your changes will be implemented after approval. You and others can also make comments on your PR.