Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 166
Registered: ‎03-04-2011
My Device: Playbook

Multi language support

I'm developing a WebWorks application for Playbook that uses jQuery. I want to make it multi language: detecting user language and changing all literals to user's language.


I think that one approach is to use one HTML file for each language supported, but it is a waste of space.


Another approach could be use jQuery to change all literals to user's language. But I'm not sure how to do this.


What do you think? Is there a better approach?

Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Multi language support

You could have all you string constants in local JSON files.
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Posts: 34
Registered: ‎07-14-2011
My Device: BlackBerry Curve 9300
My Carrier: Orange

Re: Multi language support

There are a couple of Javascript Libraries that can help you with the localization of your app:




You can also search for JQuery Plugins.