mathjax / mathjax/MathJax

Problems with translator

Open
#2,115 15 comments 0 reactions 1 assignee View on GitHub

@dpvc is already working on this.

Since Aug 15, 2025.

Feature Request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.