enyo.g11n.setLocale({ uiLocale: 'de' });
but that did not change anything (I've tried to set it before I create my app via the index.html and I tried it in the create-function of my main class as well).It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Cheers,
Sven
enyo.g11n.setLocale
is done with a synchronous XHR in 1.0, and I wonder if the Playbook OS doesn't support that.Can the language be changed during runtime, maybe for example by a button click? Or must that be done before the main object is created?
Cheers,
Sven
It even did not work on the chrome browser... Can someone please provide me a working code-snipplet? Than I could check what I'm actually missing...
Thanks,
Sven
Thanks,
Sven
thanks for your feedback, but I don't know which post you mean?
Cheers,
Sven
http://forums.enyojs.com/discussion/comment/580/#Comment_580
I want to mention that my issue is that the app itself is not getting translated. $L did not work on Chrome or on the PlayBook for me. I have no troubles with number- or date-formatting.
Did you test strings in another language with your app?
Cheers,
Sven
Apparently the JSON interpreter for WebWorks apps (or perhaps just all BB apps) is super strict so you have to make sure your JSON in your strings files are completely compliant.
You can check by putting your JSON into http://www.jsonlint.com and having it validate it.
Cheers,
Sven