Hi all,
my app, MeOrg!, supports multiple languages (english, german and french) and that works perfectly on webOS. On the BlackBerry PlayBook it's always the english locale active. I've already tried to set the locale manually with 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).
Any help would be really much appreciated!
Cheers,
Sven
0 • •
Comments
Cheers,
Sven
- Spam
- Abuse
0 • Off Topic Insightful •enyo.g11n.setLocaleis done with a synchronous XHR in 1.0, and I wonder if the Playbook OS doesn't support that.- Spam
- Abuse
0 • Off Topic Insightful •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
- Spam
- Abuse
0 • Off Topic Insightful •- Spam
- Abuse
0 • Off Topic Insightful •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
- Spam
- Abuse
0 • Off Topic Insightful •Thanks,
Sven
- Spam
- Abuse
0 • Off Topic Insightful •- Spam
- Abuse
0 • Off Topic Insightful •thanks for your feedback, but I don't know which post you mean?
Cheers,
Sven
- Spam
- Abuse
0 • Off Topic Insightful •http://forums.enyojs.com/discussion/comment/580/#Comment_580
- Spam
- Abuse
0 • Off Topic Insightful •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
- Spam
- Abuse
0 • Off Topic Insightful •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.
- Spam
- Abuse
0 • Off Topic Insightful •Cheers,
Sven
- Spam
- Abuse
0 • Off Topic Insightful •