How to make a free translation for a website without an API, translate documents in Google Translate
It may be necessary to translate a large number of string resources . For this, the Google Translate online translation service comes in handy. It is usually used to translate small pieces of text or even words alone. However, there is still a document translation mode, which will allow you to translate a large number of strings, after which you can import into the system .
The advantage of this approach is that you can download a large number of lines from the system and instantly perform a free translation. However, keep in mind that the Google Translate service has overload protection. It consists in the fact that when a certain number of translated characters is reached, the translator stops translating and leaves the lines untranslated.
In this case, it is necessary to reduce the number of characters in the file to about 20,000. This may also stop working, so you can periodically change the IP address, for example, simply disconnecting from the Internet and connecting (if the Internet is used via a wifi-access point of the phone, you can enable or disable airplane mode in the phone - IP is dynamically allocated to the SIM , and it will be different).
Thus, the system can organize free offline translation without real-time translation via a paid API. It is enough to collect strings using code, download them, translate them using third-party services and import them into the system.
- 09.07.22IT / Misc Convert office files DOC, DOCX, DOCM, RTF to DOCX, DOCM, DOC, RTF, PDF, HTML, XML, TXT formats without loss and markup changes
- 07.07.22IT / Safety How to protect PHP, JS, HTML, CSS source code - obfuscation, minification, compression and encryption
- 06.07.22IT / Safety Connection not secure, problem with Lets Encrypt - how to fix expired 09/30/2021 DST Root CA X3, remove it manually and install ISRG Root X1. Example on MS Windows 7
- 08.07.21IT / Misc How to make a free translation for a website without an API, translate documents in Google Translate
- 06.07.21IT / Misc How to make a subscription button on a website, a subscriber base and automatic mailing