Currently on Firefox 124.0.2, the built-in Translations feature is not available when viewing a PDF. This would be very handy to have as it's already quite useful on the web.
Implementing it for full PDF translation will take a while, but soon we will release the selection translation feature which will work in PDFs too (you will be able to select text on a web page or on a PDF and translate it).
I opened this topic precisely to suggest this: it would be fantastic [and the translator implementations are for me, Italian, the biggest problem of Firefox compared to Edge (desktop and for iOS)].
The user interface with which Edge translates parts of PDF is very well done because it opens a sidebar on the right that remains open and automatically translates the text you select
@marcoWill Select to Translate currently being selected in Nightly close this feedback post? It's definitely a good solution and I will be using it, but will that just replace the idea of translating PDFs in their entirety?
I can understand that it deals with a different side of Firefox than DOM rendering, and it might be a nice idea to ignore it and call Select to Translate "enough" for the purpose, but I would still like to see whole-PDF translation, even if I'll be waiting a while for it.
Select to Translate will serve great in the meantime!