简体   繁体   中英

Convert English text to Hindi which is coming from mysql database

I have data stored in mysql DB in English language. I want to show that data in Hindi to the user on front-end which is written in HTML5 and angularjs. Currently I am storing English as well as Hindi translation of that data in DB and if user wants to see it in Hindi then i am fetching Hindi Content from Database and displaying on front-end which is working so very fine but ...Is there any other and easy way to that?

Because I always have to translate the English data in Hindi and store it in DB, real problem is data is changing every week so I have to do that every week.

The easiest way is to use ng-translate . I don't know how reliable it is for hindi though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM