문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top