BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-08-2008, 03:34 PM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face overriding device language setting

Please Login to Remove!

Hi,
Is it possible for an application to override the device's default language setting.

For example, say the language setting in device is French and the user of my application wants to use Spanish.Is it possible to override the device setting from my application. I want the rest of the applications running on the device to be in default language.

Any help would be appreciated.

Thanks.

Sen.
Offline  
Old 09-08-2008, 05:12 PM   #2 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Overriding device language settings

Hi,

I think I found a way for overriding the device default language setting.

import net.rim.device.api.i18n.Locale;

Locale.setDefault(Locale.get(Locale.LOCALE_es));

if you have set your device language as, say English, the above code would overwrite the language setting and displays ur application data in Spanish.



-
Sen
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

AllWorx Model 48x VOIP Network Server IP Phone System
$199.95
AllWorx Model 48x VOIP Network Server IP Phone System  pictureSYSCO HOLD N SERVE Heated Counter Top Food Warmer Server Buffet Steamer 71001-10
$88.88
SYSCO HOLD N SERVE Heated Counter Top Food Warmer Server Buffet Steamer 71001-10 pictureAllen Bradley 1761-NET-ENIW /D EtherNet Interface Module with Web-server
$799.0
Allen Bradley 1761-NET-ENIW /D EtherNet Interface Module with Web-server picture1PC NEW Avocent DSRIQ-USB KVM Switch USB Server Interface Module SIM
$33.45
1PC NEW Avocent DSRIQ-USB KVM Switch USB Server Interface Module SIM pictureBlack Galaxy Space server waitress waist apron 3 pocket restaurant Classyaprons
$11.89
Black Galaxy Space server waitress waist apron 3 pocket restaurant Classyaprons picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.