testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

How can I contribute the Chinese translated version?

Open LongHaoo opened this issue 3 years ago • 12 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Hello! I want to contribute a Chinese version of the document. But I haven't found a place to contribute. Don't know if there are any plans to make the documentation support different languages

Describe the solution you'd like A clear and concise description of what you want to happen.

making the documentation support different languages.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Hope to be able to provide a path to convert documents into different languages. Provide access to our translation contributions

Additional context Add any other context or screenshots about the feature request here.

LongHaoo avatar May 03 '22 08:05 LongHaoo

if you still are in interested in Chinese translating, please check repo: https://github.com/xupea/testing-library-docs-cn

xupea avatar Oct 11 '22 05:10 xupea

Not ready to merge into the master? @xupea

LongHaoo avatar Oct 11 '22 07:10 LongHaoo

Have any plan about Chinese support? @MatanBobi

LongHaoo avatar Oct 11 '22 07:10 LongHaoo

We do wish to support multiple languages but at the moment, I don't have the capacity to push this one forwards.

MatanBobi avatar Oct 11 '22 07:10 MatanBobi

@MatanBobi Can I make a PR to do this?

LongHaoo avatar Oct 11 '22 07:10 LongHaoo

Sure thing, but we'll need to do that using docusaurus's i18n feature so it might take some time :)

MatanBobi avatar Oct 11 '22 08:10 MatanBobi

@MatanBobi OKOK, I'm going to learn about it, thank you for your reply :)

LongHaoo avatar Oct 11 '22 08:10 LongHaoo

Not ready to merge into the master? @xupea

yep, zh-Hans doc isn't full translated yet

xupea avatar Oct 12 '22 04:10 xupea

@LongHaoo please ref this docusaurus i18n ,seems quite easy to support

xupea avatar Oct 12 '22 04:10 xupea

i18n is supported now, https://github.com/xupea/testing-library-docs-cn/commit/feff068798d68527a257a3f0e82ce6e0d0c10653

xupea avatar Oct 12 '22 15:10 xupea

Feel free to issue a PR @xupea :)

MatanBobi avatar Oct 13 '22 10:10 MatanBobi

@MatanBobi @LongHaoo please review PR

xupea avatar Oct 18 '22 03:10 xupea