Localization in a web app using JavaScript and JSON

前端 未结 3 1971
灰色年华
灰色年华 2021-02-12 20:09

I\'m trying to set up a script to automatically localize a web application. As the web application is intended to use HTML5\'s offline caching ability, it needs to be able to wo

3条回答
  •  忘掉有多难
    2021-02-12 21:04

    Depending on your needs, the jquery-localize function might work well. If you need a more complex structure that mirrors that of your website, the localize library might be more useful: https://github.com/kflorence/localize

提交回复
热议问题