Đã hoàn thành

271602 Wordpress + Translation Plugin

This project is based on the the following translation plugin:

[url removed, login to view]

Your task will be:

- Download the plugin and take a look at the code

- make changes in the code as described below

- remove all the code that is not necessary for this task

Changes:

I want to use this translation plugin together with another plugin.

In that plugin's code, I want to have a call to a function like this:

$content = 'the posts content in string form...';

$sourcelanguage='en';

$destinationlanguage='fr';

$newcontent = global_translation($content,$sourcelanguage,$destinationlanguage);

Your task is to provide the "global_translation" function by making changes to the Global Translator plugin.

The code you write should try the four translation services that are used in the original plugin. First use a random engine, then choose another service if the translation failed for some reason, etc. If all translation engines are unavailable, I want to have a simple output stating that the translation failed.

The random user agent strings of the plugin should be used.

To fully understand this project, it's best to take a quick look at the plugin's source code.

Leave a comment in the message board if you have questions.

Important: I cannot use fopen on my hosting service (dreamhost). You will need to use curl instead.

I was told that the functions fgets(), fputs(),fsockopen() and feof() will work. So you don't have to change them in the plugin.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: wp services, wp service, wp engine , wp content wordpress, wordpress services plugin, wordpress service plugin, want to be a translator, try wordpress, translator agent, look translator, look for a translator, i want translation, i want a translator, i need a quick code for wordpress, changes in wordpress service, call for wordpress project, translator net, the best translator, i want to download translator, i want to be translator

Về Bên Thuê:
( 7 nhận xét )

ID dự án: #2017886

Được trao cho:

agarassino

Hi, plesae check PMB. Regards, Agustin

$110 USD trong 3 ngày
(50 Đánh Giá)
5.2