marked icon indicating copy to clipboard operation
marked copied to clipboard

Document i10n?

Open minecraftfen opened this issue 1 year ago • 7 comments

Describe the feature

I'm a Chinese Student, and I'm working on translating marked official document into Chinese for some reason. Are you willing to accept these translations for other Chinese language developers? Or if I publish these translations on my Github Pages, can you leave a link on the official website?

Why is this feature necessary?

If I only post these contents on my own website, I may not be able to help others, and you can also place translations from other languages/versions in the footer for the convenience of others to use.

Describe alternatives you've considered

Well I think I have already done it in Describe the feature

minecraftfen avatar Jul 05 '24 09:07 minecraftfen

Ya that sounds cool. The more people that can read the docs the better.

Our docs are built with marked in https://github.com/markedjs/marked/tree/master/docs would we have a cn directory with the translations?

UziTech avatar Jul 05 '24 16:07 UziTech

Ya that sounds cool. The more people that can read the docs the better.

Our docs are built with marked in https://github.com/markedjs/marked/tree/master/docs would we have a cn directory with the translations?

I'm still working on it; I will make I fork of marked repo so you can check my progress.

My current translation does not reference the original Markdown file but was written from scratch with the compiled version, and there may be minor markup changes in the translation.

minecraftfen avatar Jul 06 '24 01:07 minecraftfen

@UziTech I usually work on personal projects and I'm not very clear about collaboration on Github, and I was wondering, if someone wants to point out mistakes of my Chinese translations, how should they find me through Issues?

minecraftfen avatar Jul 06 '24 01:07 minecraftfen

Maybe add something to the README like "Chinese translations by @minecraftfen"

UziTech avatar Jul 06 '24 03:07 UziTech

Maybe add something to the README like "Chinese translations by @minecraftfen"

You reminded me, maybe I can add another translation of README too.

minecraftfen avatar Jul 06 '24 03:07 minecraftfen

I will put a translation switch on README.md like this:

English | [简体中文](./README.zh-cn.md) | [Translations List](./README.langs.md)

README.langs.md:

# marked readme.md translations list

|Language|Author|Translated from Version|Last Updated|
|:--|:--|:--|:--|
|[English](./README.md)|[markedjs](https://github.com/markedjs)|(Original Version)|--|
|[简体中文](./README.zh-cn.md)|[minecraftfen](https://github.com/minecraftfen)|[Nov 28, 2023](https://github.com/markedjs/marked/commit/4f3304018e104d43b29dcd81a9fcf78d8c3ea52b)|WIP|

minecraftfen avatar Jul 06 '24 04:07 minecraftfen

And do similar work to doc/index.md

minecraftfen avatar Jul 06 '24 04:07 minecraftfen