Hi Firefox team,
Thank you for the built-in translation feature, it is very convenient.
However, there is a problem for users who read technical documentation or programming tutorials. The translator treats all text as general language and often mistranslates specialized terms.
For example, the word "statement" in programming (meaning an instruction or operator) is translated into Russian as "заявление" (a formal declaration) or "утверждение" (assertion). This makes the text confusing. The same happens with many other terms: function, expression, loop, array, string, exception, thread, commit, branch, etc.
It would be very helpful if users could define a custom glossary or a "do not translate" word list in Firefox translation settings. For example, we could add words that should never be translated, or set preferred translations for certain terms.
Such a feature would greatly help developers, students, and anyone reading specialized content. It would also reduce the frustration that forces many of us to disable the built-in translator for entire websites.
Thank you for considering this improvement.