Cosmos Journeyer is an open source project and contributions are welcome! There is too much to do for one person alone. If you want to contribute, please read the following guidelines first.
Finding bugs and reporting them is key to make the project better. If you find a bug, please open an issue on the issue tracker
If you have an idea for a new feature, please open an issue on the issue tracker
Pull requests are welcome! If you want to contribute code, please follow these steps:
- Get familiar with the project by reading the architecture document
- Fork the repository
- Create a new branch from the
main
branch:git checkout -b [name_of_your_new_branch]
- Commit & push your changes
- Open a pull request to the
main
branch
You can open a draft pull request if you want to get feedback on your changes before they are ready to be merged.
Pull request are tested against the linter and the unit tests, make sure you run them before opening a pull request.
Code that does not pass the linter or the unit tests will not be merged, but I will help you fix it don't worry.
Cosmos Journeyer is available in multiple languages, but you can add more or improve existing translations.
To make a change in an existing language, go to src/locales
and find the language you want to modify by its code.
For example if you want to modify the American English translation, you will find the en-us
folder.
Inside this folder are many JSON files containing the various words and sentences used throughout the project.
Make the changes you want by editing the files and then open a pull request. If you don't have/don't want to create a GitHub account, you can email the files at barth.paleologue@cosmosjourneyer.com. In any case you will be credited for your work.
Adding a new language altogether is quite straightforward as well. Simply go to the src/locales
folder and create a new folder with the language code you want to create.
Then, paste inside the content of another language directory and translate the content inside the JSON files.
You don't need to code at all, the language will be automatically bundled and available inside Cosmos Journeyer.
To test your changes, simply run the project using npm run serve
and change the url in this format:
http://localhost:8080/?lang=fr-FR
You only need to replace fr-FR
with the language code you want to test.
There is still plenty to do on Cosmos Journeyer. You can check the issue tracker for ideas on what to work on.