readthedocs / recommonmark

A markdown parser for docutils
https://recommonmark.readthedocs.io/
MIT License
340 stars 252 forks source link

md links don't internasionalise #169

Closed dpshelio closed 2 years ago

dpshelio commented 5 years ago

I've built on top on the repository that @Bjwebb created for #47 (which for me using the latest version of Sphinx and recommonmark seems solved.

In this last commit: https://github.com/dpshelio/recommonmark-i18n-bug/commit/ebe320aa6e66235ea527c19e7677630bf637658a besides updating the conf.py to I've added a link to the index.md file. This link, when running gettext dissapears.

I'm not a 100% sure whether this problem can be solved in here or on sphinx, so, please let me know if you think this should be reported to sphinx instead.

JulianGro commented 3 years ago

Duplicate of #163

astrojuanlu commented 3 years ago

I copy here @JulianGro comments on MyST-Parser from https://github.com/vircadia/vircadia-docs-sphinx/pull/136:

While it does fix links being parsed incorrectly for translation, the new strings will still contain the wrong translation and only be marked as "fuzzy" indicating that the translation needs to be updated.

I'm collecting i18n issues related to Markdown on Sphinx, because it seems a common pain point.

astrojuanlu commented 3 years ago

Also, this is unlikely to get fixed in recommonmark: https://github.com/readthedocs/recommonmark/issues/221

jpmckinney commented 3 years ago

I had fixed this in unmerged #187