markdown translation tools
All markdown translation tools on the market have problems and don't work well.
For example, if you use menthays/markdown-translator to translate markdown text, it will translate
对 [libmdbx](https://github.com/erthink/libmdbx) 的 rust 封装
into
Right [libmdbx](https://github.com/erthink/libmdbx) The rust package of
The reason is that it splits the text into
The reason is that it splits the text into { text: '对 ' },{ text: 'libmdbx' },{ text: ' 的 rust 封装' }
to translate it separately.
Using something else, like bilingual, doesn't keep the link style.
I wrote @rmw/deepl-markdown-translate
to solve a number of problems and to support
- Translating the comment text of
rust
code - Not translating configuration fields in vuepress
- Caching line by line to save translation costs
For the following text
the translation works as follows
The translation requires deepl's api key
, please apply first. ( U.S. credit card is required to open, you can email i@rmw.link
to help do it for you if you need).
See the code documentation for more details