toocaa studio translation files
English | 中文
Welcome to our i18n translation project! This project aims to provide multilingual support for the TOOCAA Studio application. We greatly appreciate your willingness to contribute your translation skills and help us make the application accessible in more languages.
The project's directory structure is as follows:
i18n/
├── en/
│ └── translation.json
├── es/
│ └── translation.json
├── fr/
│ └── translation.json
└── ...
Each language has its own folder (e.g., en/
for English), and inside each folder, there is a translation.json
file containing the translated content for that language.
First, click the "Fork" button at the top right of this repository to fork it to your GitHub account.
Clone the forked repository to your local machine:
git clone https://github.com/your-username/repository-name.git
If you are adding a new language, create a new folder under the i18n/
directory. The folder name should use the ISO 639-1 language code (e.g., zh
for Chinese, es
for Spanish, etc.).
cd i18n
mkdir language-code
Inside the newly created folder, add a translation.json
file. You can refer to the translation.json
files of other languages for the format and translate the key-value pairs into the target language.
For example, en/translation.json
might look like this:
{
"welcome": "Welcome",
"goodbye": "Goodbye"
}
You can translate it into the target language, such as Chinese (zh/translation.json
):
{
"welcome": "欢迎",
"goodbye": "再见"
}
Once the translation is complete, commit your changes to your forked repository:
git add .
git commit -m "Add [language-code] translation"
git push origin main
Finally, go back to GitHub, navigate to your forked repository, and click the "New Pull Request" button to create a Pull Request. We will review and merge your contribution as soon as possible.
- Please ensure the translations are accurate.
- If you are unsure about certain translations, feel free to mention it in the Pull Request, and we will assist you.
- If you find any errors in existing translations, please submit corrections.
Thank you for contributing to the multilingual support of this project! We look forward to your Pull Request.