Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking markdown convertion for zh-{CN,TW} #6173

Closed
5 tasks done
yin1999 opened this issue Jun 8, 2022 · 12 comments · Fixed by #7833
Closed
5 tasks done

Tracking markdown convertion for zh-{CN,TW} #6173

yin1999 opened this issue Jun 8, 2022 · 12 comments · Fixed by #7833
Assignees
Labels
l10n-zh Issues related to Chinese content. markdown-conversion 100% markdown project

Comments

@yin1999
Copy link
Member

yin1999 commented Jun 8, 2022

It's used to track the markdown convertion for zh-{CN, TW} documents. Before starting the conversion, we need to:

To working on it, please see #2474 to set up the environment first.

@yin1999 yin1999 added needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. l10n-zh Issues related to Chinese content. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 8, 2022
@yin1999
Copy link
Member Author

yin1999 commented Jun 26, 2022

zh-TW:

@awxiaoxian2020
Copy link
Contributor

Hi, @yin1999 I want to write a guide in Simplified Chinese for this issue as the project is huge and complex. Do you think it is necessary to make a PR?

@yin1999
Copy link
Member Author

yin1999 commented Jun 28, 2022

I want to write a guide in Simplified Chinese for this issue as the project is huge and complex. Do you think it is necessary to make a PR?

Feel free to do this.

@yin1999
Copy link
Member Author

yin1999 commented Jul 1, 2022

zh-CN:

@awxiaoxian2020
Copy link
Contributor

Could we only convert them and not care the content review for the time being?

@yin1999
Copy link
Member Author

yin1999 commented Jul 15, 2022

Could we only convert them and not care the content review for the time being?

If you want, you can add a continue; here (locally): https://github.com/mdn/yari/blob/528d743ae2935d3dc5482585a28449ba5a2a0d30/markdown/cli.ts#L190-L196

Then you can just run --mode replace to convert non-error documents (section by section, and leave mozilla section for me)

If there are too many unhandled errors, it's harder to resolve in .md files.

@awxiaoxian2020
Copy link
Contributor

Could we only convert them and not care the content review for the time being?

If you want, you can add a continue; here (locally): https://github.com/mdn/yari/blob/528d743ae2935d3dc5482585a28449ba5a2a0d30/markdown/cli.ts#L190-L196

Then you can just run --mode replace to convert non-error documents (section by section, and leave mozilla section for me)

If there are too many unhandled errors, it's harder to resolve in .md files.

格式问题我会处理的,我是说将文件转换成 md 文件而不关心翻译是否过时,是否准确等问题。等到全部转换完成(merge)后有时间再重新维护内容。格式问题我会处理的。
如果可以的话,我将发起一个 PR 去批量地处理文件。

@yin1999
Copy link
Member Author

yin1999 commented Jul 15, 2022

格式问题我会处理的,我是说将文件转换成 md 文件而不关心翻译是否过时,是否准确等问题。等到全部转换完成(merge)后有时间再重新维护内容。格式问题我会处理的。 如果可以的话,我将发起一个 PR 去批量地处理文件。

对于批量文件转换,不用关心是否过时

@awxiaoxian2020
Copy link
Contributor

格式问题我会处理的,我是说将文件转换成 md 文件而不关心翻译是否过时,是否准确等问题。等到全部转换完成(merge)后有时间再重新维护内容。格式问题我会处理的。 如果可以的话,我将发起一个 PR 去批量地处理文件。

对于批量文件转换,不用关心是否过时

I‘ll work on it.

@queengooborg
Copy link
Collaborator

Hey all -- FYI, I've written a new conversion guide at https://github.com/mdn/markdown/blob/main/conversion-guide.md with updated instructions, as many of the special cases that had to be taken care of before conversion are now automatically handled! Hope this helps with your locale's conversion!

@yin1999
Copy link
Member Author

yin1999 commented Aug 13, 2022

Hi @irvin, there are only conflicting documents left in html format (zh-TW). How should we deal with them?

I usually sync the associated non-conflicting document and remove the conflicting one. But I am not good at traditional Chinese.

/cc @queengooborg

@irvin
Copy link
Collaborator

irvin commented Aug 15, 2022

hi @yin1999 feel free to removed them, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content. markdown-conversion 100% markdown project
Projects
Development

Successfully merging a pull request may close this issue.

4 participants