Can this plugin be used to localize "strings" in html files? If yes, how should it be done?
For example: i have an app and want to let the user change the language in the app.
I've tried something like this, but it doesnt work:
de.json
{
...
"app" : {
"btn_login": "Einloggen"
}
}
Can this plugin be used to localize "strings" in html files? If yes, how should it be done? For example: i have an app and want to let the user change the language in the app.
I've tried something like this, but it doesnt work: de.json { ... "app" : { "btn_login": "Einloggen" } }
en.json { ... "app" : { "btn_login": "Login" } }
login.html ...
<button id="btn_login">btn_login</button>