...@gmail.com wrote:
use
..getBaseContext().getResources().getConfiguration().updateFrom(newConfig)
-- Forwarded message --
From: dinesh adwani dinesh.adwa...@gmail.com
Date: Thu, Sep 30, 2010 at 10:54 AM
Subject: Re: [android-developers] Re: locale change does not affect menu
use
..getBaseContext().getResources().getConfiguration().updateFrom(newConfig)
-- Forwarded message --
From: dinesh adwani dinesh.adwa...@gmail.com
Date: Thu, Sep 30, 2010 at 10:54 AM
Subject: Re: [android-developers] Re: locale change does not affect menu
To: android-developers
Hi all,
normally locale change comes under configuration change and if you have
overrided onConfigurationChanged thenit is called onchanging locale
since in normal case when we change locale activity destroy and create again
to change locale at runtime...but if u have kept ur activity as
Hi Engin,
I also noticed this behaviour - albeit, only in the emulator. I cannot test
on a 2.2 phone.
Unfortunately, I did have enough time to find out why this happens, so I
made a hack.
First, some info: this resetting of the locale probably happens somewhere
after the onResume(). This means
I also added a setLocale in onStart and onConfigurationChanged, but this is
really getting out of control :(
BR,
Adrian Vintu
http://adrianvintu.com
On Wed, Sep 29, 2010 at 1:38 PM, Adrian Vintu adrianvi...@gmail.com wrote:
Hi Engin,
I also noticed this behaviour - albeit, only in the
Hi,
i am not trying to fight with system. i am just trying to publish
application having multilanguage capability. so this should not be
fighting.
Whatever, http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx
in this link i have found alternative way of doing this. by this way
For multi-language apps you don't need to do any of this. Have a read
of localization in the docs:
http://developer.android.com/guide/topics/resources/localization.html
you will get the collect localized resources loaded automatically by
the platform.
If however you are trying to switch
Richard,
no it is not what i am trying to do.
Suppose that I have an telephone which does not support Germany but i
want to develop application supporting many languages as well as
Germany . if the only way of changing language of application is
changing Locale from telephone settings , it is
any ideas?
On Jul 23, 3:17 pm, Engin Arslan enginarsla...@gmail.com wrote:
Specifically,menulanguage changes to English (which is default
language) when I try to changelocale. And then it does not change any
other language
On Jul 23, 2:18 pm, Engin Arslan enginarsla...@gmail.com wrote:
You have already asked this and got a - don't do this - reply from
Dianne Hackborn.
DH You are blowing away the current configuration in the resources
with your
own you have created that is not initialized. Things aren't going to
work
when you do that.
You could improve that by giving it a
Specifically, menu language changes to English (which is default
language) when I try to change locale. And then it does not change any
other language
On Jul 23, 2:18 pm, Engin Arslan enginarsla...@gmail.com wrote:
Hi all,
I am developing application in which user can choose application
11 matches
Mail list logo