Thanks Dianne,

How can I support multi language for my application instead of
changing Locale Configuration?
For example, is it possible to specify values folder to be used by the
program  to change language of program?


On Jul 21, 4:24 pm, Dianne Hackborn <hack...@android.com> wrote:
> Don't replace the current configuration with a new one you make and haven't
> initialized completely.
>
> Actually I would recommend not doing this at all; it is not really supported
> for the app to override the configuration, and even if you do fix this to
> use a proper Configuration object you are going to be fighting with the
> platform over this and we can't guarantee that you will continue to use the
> language you set for any time after setting it.
>
> On Wed, Jul 21, 2010 at 4:24 AM, Engin Arslan <enginarsla...@gmail.com>wrote:
>
>
>
>
>
> > any suggestions??
>
> > thanks
>
> > On Jun 29, 2:22 pm, Engin Arslan <enginarsla...@gmail.com> wrote:
> > > Hi all,
>
> > > In may application I support multi-language. For this purpose, I set
> > > locale as user choice as follows:
> > >                         languageToLoad  = "language code here";
> > >                         Locale locale = new Locale(languageToLoad);
> > >                         Locale.setDefault(locale);
> > >                         Configuration config = new Configuration();
> > >                         config.locale = locale;
>
> > this.getResources().updateConfiguration(config,this.getResources().getDispl
> > ayMetrics());
>
> > > However , this locality set causesnexusoneresolutionproblem such
> > > that every thing gets smaller. Even if I set androidmanifest.xml
> > >  <supports-screens
> > >          android:smallScreens="true"
> > >          android:normalScreens="true"
> > >          android:largeScreens="true"
> > >          android:anyDensity="true"
> > >          />
> > > it did not work. I have searched at the groups but cannot find any
> > > other solution.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to