A big welcome and thank you for considering contributing to Intl Explorer!
Reading and following these guidelines will help us make the contribution process easy and effective for everyone involved. It also communicates that you agree to respect the time of the developers managing and developing these open source projects. In return, we will reciprocate that respect by addressing your issue, assessing changes, and helping you finalize your pull requests.
Contributions are made to this repo via Issues and Pull Requests (PRs). If you are unsure about anything when contributing do not hesitate to open an Issue and ask what your next step should be.
Issues should be used to report problems with the website, request a new feature, or to discuss potential changes before a PR is created.
If you find an Issue that addresses the problem you're having, please add your own reproduction information to the existing issue rather than creating a new one. Adding a reaction can also help be indicating to our maintainers that a particular problem is affecting more than just the reporter.
PRs to the repository are always welcome and can be a quick way to get your fix or improvement slated for the next release. In general, PRs should:
- Only fix/add the functionality in question.
- Add tests for fixed or changed functionality (if a test suite already exists).
In general, we follow the "fork-and-pull" Git workflow
- Fork the repository to your own Github account
- Clone the project to your machine
- Create a branch locally with a succinct but descriptive name
- Be sure to lint and format before commiting (
pnpm format
,pnpm lint
) and fix any issues that the linter finds. - Commit changes to the branch. We use commitlint to check if your commit message follows conventional commits format
- Push changes to your fork
- Open a PR in our repository and follow the PR template so that we can efficiently review the changes.
- Fork and clone the repository to your local machine
- Create a new branch for your translation with the name
feat/translations/<language-code>
(e.g.feat/translations/es
) - Add your language code to the property
languageTags
to the file ./project.inlang/settings.json - Add a file with the name of your language code in the folder ./messages (e.g.
es.json
) - Copy contents of the file ./messages/en.json to your new file and start translating the strings.
- Run project locally and check if your translations are working as expected.
- You can change language under "Settings" in the top right corner of the page.
- Commit your changes and push to your fork and open a PR to this repository.
By contributing, you agree that your contributions will be licensed under its MIT License.