Create a translation service.
Customer service to activate the service method as follows:
getWord ("car", "russian", "polish")
The first parameter is the required word, the second is the original language, and the third target language.
The method should return a string with the appropriate word or words separated by commas if there are synonyms.
Data source, the service should use XML documents (the system may have only a few words, in order to test the functionality).
<?xml version="1.0" encoding="UTF-8"?>
02
<translate>
03
<word>
04
<english>Car</english>
05
<russian>Avtomobil</russian>
06
<polish>Samochod</polish>
07
</word>
08
<word>
09
<english>Love</english>
10
<russian>Lobite</russian>
11
<polish>milosc</polish>
12
</word>
13
<word>
14
<english>Busy</english>
15
<russian>Zanimate</russian>
16
<russian>Zanito</russian>
17
<polish>Zajety</polish>
18
</word>
19
</translate>
hi i read what you wanted i think it will no te any problem as you want only one method to write, as i understand you just want to hardcode translate version for demostration , almost forget i am java developer in gov organisation and work on web services so waiting for you response :D
€80 EUR en 3 días
5,0 (12 comentarios)
3,1
3,1
4 freelancers están ofertando un promedio de €109 EUR por este trabajo
Hello,
I am John Ofagbe a professional web developer and software engineer. I have read through your project description and I can get this translation service done for you using PHP and MySQL. I would suggest that the XML file be loaded and stored into a database, and then when queries are made, they are retrieved from the database. This will highly improve performance.
Hi,
I am professional in this task.I would like to assist you in your projects. Get it done professionally get it done right the 1st time. I am here to make long term relationship. I would like to get all details from you and ready to start ASAP . Lets discuss.