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

Java Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 239
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

Easiest way to provide multi-language support?

I want my app to support several languages (e.g: English, Indonesia, and Malaysia). Of course users are able to change the language within the app.


What is the easiest way to do this?

I think  ResourceBundle can be used for the purpose, but I'm still not sure how to change the language during run time.

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Easiest way to provide multi-language support?

The search box is your friend - remember someone else has probably asked the question before.



Posts: 239
Registered: ‎07-26-2010
My Device: Z10
My Carrier: Telkomsel

Re: Easiest way to provide multi-language support?

Ah I see. Thanks.

But I don't see Indonesia or Malaysia supported in Locale class.

How can we use them, then?

Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Easiest way to provide multi-language support?

according to my own reply to a similar question (i used search):
id is the code for Indonesia.
Appname_id.rrc would be the language file.

as there is no constant in the locale class there may be no way to set indonesian as the device language programatically, but you can provide resources for it.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter