Skip to content

elecfreaks/toocaa-studio-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i18n

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.

Directory Structure

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.

How to Contribute Translations

1. Fork the Repository

First, click the "Fork" button at the top right of this repository to fork it to your GitHub account.

2. Clone the Repository

Clone the forked repository to your local machine:

git clone https://github.com/your-username/repository-name.git

3. Create a New Language Folder

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

4. Add Translation Files

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": "再见"
}

5. Commit Your Changes

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

6. Create a Pull Request

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.

Notes

  • 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

Thank you for contributing to the multilingual support of this project! We look forward to your Pull Request.

About

toocaa studio translation files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published