
1
Тарас
no recommendations
no complaints
Project title: Write a script of the online translator of sites
Type of cooperation: One-time project
Section: Web development, Web programming
Prepayment: without prepayment
Payment methods: Cash, Bank transfer, Electronic money
Acceptance of requests: from 2022-10-07 until 2022-10-14
Type of cooperation: One-time project
Section: Web development, Web programming
Prepayment: without prepayment
Payment methods: Cash, Bank transfer, Electronic money
Acceptance of requests: from 2022-10-07 until 2022-10-14
Project description:
Good afternoon.
Offering remote work for a web developer. You need to write a script for an online translator of sites with a cache of pages. A turnkey solution is required (archive with a script for downloading to the site).
Task:
- Upon request of the user / spider (click on the link), according to the rewrite rules, a script is addressed, which sends the page for translation.
In translate.google.com where the page is translated to the desired direction of translation (any in any quantity).
- As a result of the translation, the translated content is rabbited back, Google Spans with translation are cut out and the fully translated actual page falls into a folder with the translation cache, where the translation cache itself can be stored n number of days depending on the settings and, upon request, give the translated page from the cache or online update the translation cache to a new one.
Opportunities:
- while saving the translation cache, it should be possible to buttize the page at your discretion - for example, insert some of your text / code into the translated page or remove something. It is desirable that this was possible on php preg_replace or similar on the example of what to change = what to change.
- the ability to work through proxy so that Google does not banish for constant requests.
- work "on the fly" online, working with sites where there are many pages.
What's up now :
The working script is written in php + curl. It still works – it sends the page to Google and rabbits it back to the cache. But there was a problem, Google made changes to its method of translation and now the translated page is not given to the user as actually translated (which could be robbed and saved in cache) and given the same page without translation but with jsé code which, after loading the page, translates it entirely only in the client's browser. As a result, the script works, and the untranslated original page is saved in cache.
You can remake or write a script from scratch (perhaps better from scratch on new technologies), for example, use console browsers, etc. I can give you access to the folder with the script or send it to the post office.
Thank you.
Good afternoon.
Offering remote work for a web developer. You need to write a script for an online translator of sites with a cache of pages. A turnkey solution is required (archive with a script for downloading to the site).
Task:
- Upon request of the user / spider (click on the link), according to the rewrite rules, a script is addressed, which sends the page for translation.
In translate.google.com where the page is translated to the desired direction of translation (any in any quantity).
- As a result of the translation, the translated content is rabbited back, Google Spans with translation are cut out and the fully translated actual page falls into a folder with the translation cache, where the translation cache itself can be stored n number of days depending on the settings and, upon request, give the translated page from the cache or online update the translation cache to a new one.
Opportunities:
- while saving the translation cache, it should be possible to buttize the page at your discretion - for example, insert some of your text / code into the translated page or remove something. It is desirable that this was possible on php preg_replace or similar on the example of what to change = what to change.
- the ability to work through proxy so that Google does not banish for constant requests.
- work "on the fly" online, working with sites where there are many pages.
What's up now :
The working script is written in php + curl. It still works – it sends the page to Google and rabbits it back to the cache. But there was a problem, Google made changes to its method of translation and now the translated page is not given to the user as actually translated (which could be robbed and saved in cache) and given the same page without translation but with jsé code which, after loading the page, translates it entirely only in the client's browser. As a result, the script works, and the untranslated original page is saved in cache.
You can remake or write a script from scratch (perhaps better from scratch on new technologies), for example, use console browsers, etc. I can give you access to the folder with the script or send it to the post office.
Thank you.