Photon has a setting option to integrate LibreTranslate.
I haven't played with it yet, but I would assume that does what you want. Other than third party clients or browser extensions offering translation capability, I don't think there's any native way to do that.