I have a document in English with German translation using gettext.
In my German translation I mark words as correct spelled in the PO file:
Unfortunately, the HTML output is the same:
I have the same behavior, when I use the role in the English originating language of the document.
To me, it looks broken. This behavior makes the role useless to me, because the rendered HTML prints the role definition completely instead just the word.
The spellcheck works though. The marked words are not considered as miss spelled.
I use Sphinx 4.5.0 and sphinxcontrib-spelling version 7.6.0.