Question

I have some textboxes on my webpage. I put some data(english language) in my text boxes and then on submitting the data is saved in my database. Now there is button "Print"on my page.

On this print button i want to generate a report in portugese language.

Now how can i convert the data(english) which is in database to portugese language.

Please note that data is entered through textboxes so it is not a fixed data.

Please suggest

Was it helpful?

Solution

There are many ways to go about this but for instance you could use the Google translate api or some other translation API and just parse the data through that before producing the report.

It might not always result in good translations

Have a look here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top