Well, I found any information about this, but I can't get it.

I would like to change localization at runtime, is it possible to
change strings.xml resource file in runtime? I can't change locale
property of coniguration object, because when I use
updateConfiguration, resolution is changed also.

            Resources res = this.getResources();
            DisplayMetrics dm = res.getDisplayMetrics();
            Configuration conf = res.getConfiguration();
            conf.locale = new Locale("es","ES");
            res.updateConfiguration(conf, dm);

I only can change locale from OS configuration page, but I'd like
offering this feauture to my users in my app

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to