-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update translation instructions and documentation
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# How to translate for different languages | ||
|
||
## GUI | ||
|
||
1. Open the `translations` folder. | ||
2. Copy the `English.json` file and rename it to the language you want to translate to. For example, if you want to translate to French, rename it to `French.json`. Change the contents of the file to the translated text. | ||
|
||
## Documentation | ||
|
||
1. Open the `docs` folder. | ||
2. Copy the `English` folder and rename it to the language you want to translate to. For example, if you want to translate to French, rename it to `French`. Change the contents of the files to the translated text. | ||
3. Link the `index.html` of the translated folder to the `index.html` of the `English` folder, and link the `index.html` of the `English` folder to the `index.html` of the translated folder. | ||
4. Translate the HTML documents in the folder. | ||
|
||
## README | ||
|
||
1. Open the `README.md` file. | ||
2. Translate the text in the file. | ||
3. Save it to `readmes/README-<language>.md`. For example, if you want to translate to French, save it to `readmes/README-French.md`. |