From f72bd441aa1dbb3afaa448877b44334c0b7ed1cb Mon Sep 17 00:00:00 2001 From: Masterain Date: Wed, 19 Apr 2023 02:14:25 -0700 Subject: [PATCH] Update docs translation rule --- crowdin.yml | 9 --------- docs/en/i18n.md | 12 +++++++----- docs/zh/i18n.md | 11 ++++++----- 3 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml deleted file mode 100644 index 982d130dd..000000000 --- a/crowdin.yml +++ /dev/null @@ -1,9 +0,0 @@ -files: - - source: /docs/zh/*.md - translation: /docs/%two_letters_code%/%original_file_name% - - source: /docs/zh/features/*.md - translation: /docs/%two_letters_code%/features/%original_file_name% - - source: /docs/zh/statements/*.md - translation: /docs/%two_letters_code%/statements/%original_file_name% - - source: /docs/zh/advanced/*.md - translation: /docs/%two_letters_code%/advanced/%original_file_name% diff --git a/docs/en/i18n.md b/docs/en/i18n.md index 908e76278..2aca97db9 100644 --- a/docs/en/i18n.md +++ b/docs/en/i18n.md @@ -22,13 +22,10 @@ Snap Hutao Project features were originally based on the China server, but we ar - Snao Hutao Docs - [x] Localization framework - [ ] Web translation - - Process:![Crowdin](https://badges.crowdin.net/snap-hutao-docs/localized.svg) + - Process: - [ ] English - [x] Home page - [ ] User documentation - - [ ] Korean - - [ ] Home page - - [ ] User documentation ## Engage our Localization @@ -39,5 +36,10 @@ Snap Hutao Project features were originally based on the China server, but we ar - We also welcome PR directly - **You can provide your translation at [translate.hut.ao](https://translate.hut.ao)** - Snap Hutao Docs - - **You can provide your translation at [translate-docs.hut.ao](https://translate-docs.hut.ao)** + - The developer team is maintaining Chinese documents and working on English documents + - You can clone the [docs repository](https://github.com/DGP-Studio/Snap.Hutao.Docs), translate docs with your +favourite tools, and make a Pull Request to contribute your work to the main repository + - If you are adding a new language, you can copy the entire `en` folder and rename it with [ISO 639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) + - For example `jp` as Japanese + - Do not translate based on Chinese docs (`zh`) as there are some content only specific useful for Chinese users; they are not useful for international users. \ No newline at end of file diff --git a/docs/zh/i18n.md b/docs/zh/i18n.md index eb73a3129..1069b29b0 100644 --- a/docs/zh/i18n.md +++ b/docs/zh/i18n.md @@ -27,13 +27,10 @@ Snap Hutao 虽然基于原神国服提供功能,但项目也有意提升国际 - Snap Hutao 文档 - [x] 语言本土化技术框架 - [ ] 网页翻译 - - 进度:![Crowdin](https://badges.crowdin.net/snap-hutao-docs/localized.svg) + - 进度: - [ ] 英语 - [x] 主页 - [ ] 用户文档 - - [ ] 韩语 - - [ ] 主页 - - [ ] 用户文档 ## 参与国际化 @@ -44,5 +41,9 @@ Snap Hutao 虽然基于原神国服提供功能,但项目也有意提升国际 - 我们也欢迎直接通过分支发起 Pull Request - **你可以在 [translate.hut.ao](https://translate.hut.ao) 参与客户端的翻译工作** - Snap Hutao 文档 - - **你可以在 [translate-docs.hut.ao](https://translate-docs.hut.ao) 参与文档的翻译工作** + - 开发团队正在维护中文文档并完善英文文档 + - 你可以克隆[文档库](https://github.com/DGP-Studio/Snap.Hutao.Docs),在你自己的库中使用你喜欢的工具翻译文档,之后创建一个 PR 来将你的作品提交到文档库中 + - 如果你计划为一个新的语言翻译文档,你可以创建一个英文文档目录(`en`目录)的副本然后以 [ISO 639-1 语言代码]命名 + - 比如说日语文档目录应命名为 `jp` + - 不要基于中文文档(`zh`)翻译,因为其中有一些内容是专门有效于中文用户的;对于国际用户而言并不是有用的。 \ No newline at end of file