01-24-2011 10:57 AM
I wanted to ask whether anyone has written a WebWorks application that displays content localized to the language of the current user?
If so, what approach did you take to solve this problem (custom extension, user-selection options screen, AJAX magic, etc)?
Reason for asking is I want to get feedback from the community about how much interest there is in this topic and whether there is a most popular / desirable solution. What are your opinions?
04-24-2012 05:20 AM
04-24-2012 04:22 PM - edited 04-24-2012 04:24 PM
I failed to find anything good enough for Sencha Touch 1, but we plan on using this for ST2 apps:
The strings are neatly organized in JSON files.
The plan is to detect the user's locale via a Webworks API and to offer a language selector in the preference panel as well.
04-25-2012 09:07 AM
Thanks for your feedback! Appreciate you sharing your solution.
As a tip, there is now a "Locale" extension published for developers to use in our Github Community APIs repo. You should be able to use this to get the default language set by your users.
Tablet OS extension: