Thank you for your efforts to make the technical documentation more accessible.
Sometimes I have to use Google Translate on such documentation.
Yes, my level in English is average and Translate’s AI sometimes understands better than I do.
I ask him for help when I have doubts,
unfortunately, Translate only recognizes the
<code> tag as a different language.
Documentation of source code with incorrect function names is not necessary, so Translate is of no use.
The solution is really simple. you have to think of surrounding
<code> in your template generator.
<code><pre> ... </pre></code> for blocks or simply
<code>inline_name</code> for names in a text
(note: The only use of
<pre> to define a block of code language is a semantic error of the w3c standard.)