This Google chrome extension can replace texts that you want to translate with translation results by DeepL(deepl.com) keepking the original style.
On pdf, this extension displays frames showing translated sentences.
Install from Chrome Web Store
How to use
To use this extension, please sign in to Chrome and sync turns on. If you do not sign in or sync turns off, you will get an error like
Error in response to storage.get: Error: Invocation of form identity.getProfileUserInfo(null, function) doesn't match definition identity.getProfileUserInfo(function callback).
Why do I need to log in and enable synchronization?
Check here before using this extension.