Hi Syl,

try the app "MoreLocale 2" from the android market. Its free.
With this app you can switch to all different locales.

Greets Klaus

On 12 Dez., 09:51, Syl <[email protected]> wrote:
> I don't want to test individual activities.
> I know how to for the choice of the language using something similar
> to the code you post.
>
> However, I don't want to create an option "Language" in the
> configuration of my application, I just want to use the setting of the
> mobile.
>
> So, does someone know how to install a new language (here french) on
> Android Dev Phone 1 ?
>
> On 12 déc, 01:03, shomari <[email protected]> wrote:
>
> > If you just need to test your "individual" activities, here is some
> > code that you can insert in onCreate:
>
> > Locale locale = new Locale("fr");
> > Locale.setDefault(locale);
> > Configuration config = new Configuration();
> > config.locale = locale;
> > getBaseContext().getResources().updateConfiguration(config,
> > getBaseContext().getResources().getDisplayMetrics());
>
> > This should activate your French resources
>
> > BUT! be warned that this code has stopped working for me since Android
> > 2.0.
> > Seems others are also experiencing problems since the new SDK.
> > Note sure how to fix it yet (so I'd suggest compiling against Android
> > 1.6, if possible)
>
> > S.
>
> > On Dec 11, 4:27 am, Syl <[email protected]> wrote:
>
> > > My application has resources files in English and French and works on
> > > Android 1.5 and >.
>
> > > Inside the emulator, in Settings > Locale & Text > Select Locale, I
> > > can choose English or French. This updates the language of my
> > > application.
>
> > > However, when I use the Android Dev Phone 1, only English is available
> > > in the "Select Locale" screen...
>
> > > Is it possible to install french locale on Android Dev Phone 1 ?
> > > If so, how can I do this ?
>
> > > Thanks for your help !

-- 
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