-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
AUTOGENERATED_TABLE_OF_CONTENTS does not work with translations #1234
Comments
On phone will update description when on PC. Here's an example: https://allcontributors.org/docs/ko/cli/usage#%EC%BD%94%EB%A9%98%EB%93%9C%EB%93%A4 |
Reported here all-contributors/all-contributors#196 |
Also issue number 1234 🎉 |
Looks like I'm not sure of the best approach here. @yangshun any thoughts? |
Interesting bug happening on docusaurus own website 😄 The cause is due to how crowdin deals with
|
Can I take this up as my first issue if no one else is already working on it? |
@vikrantsinghthakur yes 😄 Will be waiting for your PR |
@endiliey So I was thinking, as a solution for this bug, the insertTOC function should add table for lowercase token too(which we are getting from crowdin) in rawContent. Would that be a correct fix? |
@vikrantsinghthakur put up the PR and I can test it? (Can also comment feedback on the PR) |
@jakebolam Thanks, done. |
🐛 Bug Report
AUTOGENERATED_TABLE_OF_CONTENTS does not work with translations enabled
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Expected behavior
Generated for all languages
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots, if applicable.)
Reproducible Demo
(Paste the link to an example repo, including a
siteConfig.js
, and exact instructions to reproduce the issue.)The text was updated successfully, but these errors were encountered: