[Localization] How to switch from a resource to another??
I'm trying to understand how to use Localization API right now.
I have created a resource file, let's say MyResource.rrh (you know that MyResource.rrc automatically generated). The screens and everything that need the resource able to recognize it. Ok, everything goes fine.
And then i created another resource, MyResource_it.rrc. My question is, how can i switch from MyResource.rrc to MyResource_it.rrc ?
p.s Anyone please correct me if there's anything wrong i've written above.
you have to switch the device language to italian
Is there another way other than switching the device language?
I use ResourceBundle to load the resource file which is MyResource.rrc.
use Locale.setDefault(). I guess you have to reload your resourceBundle after it.
|All times are GMT -5. The time now is 01:42 AM.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.