Welcome to the Internationalization (i18n) repository for Cipher Files! This repository contains translations for our project into various languages. We appreciate your interest in contributing to make our project more accessible to global audiences.
-
Fork the repository to your GitHub account.
-
Clone your forked repository to your local machine:
git clone https://github.com/your-username/cipherfiles-translations.git
-
Navigate to the project directory:
cd cipherfiles-translation
-
Create a new branch for your changes:
git checkout -b i18n
-
Choose the language you want to contribute to and check if there isn't an existing translation for it. If there isn't, proceed to the next step.
-
Copy the English language json (en.json) inside
/i18n
and rename it according to the language code of your target language (You can find the language codes in thelanguages.json
file). -
Translate the content of the files in the newly created folder. Make sure to maintain the same file structure and format.
-
Add your changes:
git add .
-
Commit your changes:
git commit -m "Add [Language] translation"
-
Push your changes to your GitHub repository:
git push origin i18n
-
Create a new Pull Request (PR) from your forked repository to the
main
branch of the original repository. -
Await review and collaboration with repository maintainers to get your changes merged.
If you want to update an existing translation, follow the same steps as above, but instead of creating a new folder, make changes directly to the existing translation files.
If you have any questions or encounter issues while contributing, feel free to open an issue in the repository.