Problems with translator
@dpvc is already working on this.
Since Aug 15, 2025.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hello everyone, I am trying to read the content of this page: Neural networks and deep learning, but I do not know enough English (I speak Spanish), so I use the translation option that Chrome includes. The problem is that the translator does not ignore the mathematical expressions and these are altered, making them impossible to read.
I downloaded the web page on my computer to see if I could do something about it, I discovered that the problem is solved in an acceptable way if I enclose the mathematical expression with:
<span class="notranslate"> </span>
This prevents the translator from altering the equations.
My question is: How can I add the <span class="notranslate"> </span> tag to the mathjax output?
I thank you in advance for your attention.
Note: The option to translate web pages automatically is used by millions of people, It would be great if this problem were solved directly in mathjax.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.