-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
translating admonitions #293
Conversation
Thanks for this amazing work @michalfapso I'd rather you add tests to a separate tree so that it's strictly related to the feature and easier to cope with Please rebase |
Sure, now I've pushed a rebased commit with tests included. |
@michalfapso I forgot to ask sorry but could you share a rationale of the problem you're trying to solve with an example as to why it's not possible currently? |
Sure, @ultrabug, I have a documentation in English with quite a lot of admonitions. Then I have auto-translated it to several other languages which would be later manually corrected by a community. I'm using the material theme and your static-i18n plugin for it. When I have I could have written a separate script just to post process all markdown files and to add the translation of admonition titles directly to them, but I prefer not having those translations hard coded in all markdowns. I already have some strings translated via Here are some related requests: |
Makes sense and I'm honored that the plugin could help people find a solution to a 2018 problem 👍 thanks Please check my comments |
Thanks for your comments, @ultrabug. I've tried to apply them in a new commit. Do you prefer having separate commits of these subsequent changes or should I rebase and keep it in a single commit? |
Rebase please, or I'll squash & merge np |
Almost there! |
cf52ab8
to
a0a5a47
Compare
All green, one final review and we should be good to go |
Thanks and congratulations again @michalfapso |
Thanks a lot, @ultrabug! It was my pleasure :) |
Thanks a lot for working on this project!
I have a documentation with multiple languages and I was looking for a way to translate admonitions.
I wasn't sure how should I add a test for it, whether to add an admonition into
tests/docs_*_two_languages
or should I create a separate testing doc?