When you use Potplayer to translate subtitles in real time, but find that selecting Google has no effect, do you know where the problem lies? Many users face this issue because their computers do not have access to Google Translate. But don’t worry, this article will guide you step by step to solve the problem so that you can use the Google Translate function normally. PHP editor Banana has carefully compiled detailed solutions to help you easily solve this problem. Read on to get the key steps to solving your problem!
①First solve the problem that Google Translate is invalid in mainland China, and also solve the problem that the built-in translation function of Chrome browser is invalid.
C:\Windows\System32\drivers\etc Open the hosts file with Notepad (it is recommended to back up the original file first).
Copy and add the following IP addresses, without spaces at the beginning, close and save the hosts file.
216.239.32.40 translate.googleapis.com
108.177.97.100 translate.googleapis.com
180.163.150.162 translate.googleapis.com
64.233.189.191 translate.googleapis.com
216.239.32.40 translate.googleapis.com
108.177.97.100 translate.googleapis.com
-------------------------------------------------- ----------
Right-click the [Start] button, select [Terminal Administrator], enter [ipconfig /flushdns] at the prompt and press Enter.
Prompt to refresh DNS successfully, close the window.
Open the Chrome browser, open an English page, right-click to translate it to Simplified Chinese.
Verify whether the translation failure problem has been fixed. If the translation is successful, you can continue to set up potplayer.
*If the translation is not successful, it may be that the IP address in hosts is invalid.
You can visit the link below and use this tool to check the latest IP address and replace it again.
https://github.com/GoodCoder666/GoogleTranslate_IPFinder/releases
②Open the Potplayer player and set up the real-time subtitle translation function.
Right click - Subtitles - (Select Subtitles - Show Subtitles).
Real-time subtitle translation - open always use - select google translate (no account API required).
After the settings are completed, close the player and reopen the player for the settings to take effect.
The picture below shows Swedish subtitles, translated into Chinese subtitles in real time.
The above is the detailed content of What should I do if the real-time subtitle translation in Potplayer does not work when I select Google?. For more information, please follow other related articles on the PHP Chinese website!