I'm developing a webapp which consumes its own API to show the contents, and it's javascript through AJAX who does it.
When I worked with serverside processing (php) I used gettext, but now I don't know how to translate the strings generated with javascript.
How I can do it?
Thanks
国际化webapp javascript
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
duanhan3067 2012-06-09 21:40关注If you are familiar with use of Gettext, than use it's JS implementation
And load your language catalogs via calling API and using
localStorageas cache本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报