Yatin
Yatin

Reputation: 3120

Regarding Resource File in Blackberry

I have created a Resource File as App.rrc(Root)and App_fr.rrc under App.rrh(header file) and have added two keys - value pair to it. Now when i extract values in using object of resource i get only the values from App.rrc files but not from App_fr.rrc What should i do?

Upvotes: 0

Views: 151

Answers (1)

rfsk2010
rfsk2010

Reputation: 8611

You have to set the Locale to french using the following code

Locale.setDefault(Locale.get(Locale.LOCALE_fr, null));

Upvotes: 1

Related Questions