I finally got around to looking at this, and it was just what I needed.  I 
don't know how, but I didn't know of the pdk.android.com site.  Searching for 
PRODUCT_LOCALES brought me straight there.  It doesn't have all the answers, 
but the info there about the build system is certainly improved over what I 
found in the SDK.

/Ryan

From: android-porting@googlegroups.com 
[mailto:android-port...@googlegroups.com] On Behalf Of Robert Greenwalt
Sent: Thursday, December 17, 2009 2:02 PM
To: android-porting@googlegroups.com
Subject: Re: [android-porting] Adding different locales to an image

Assuming our makefile structures are compatible you need to add your locale to 
the PRODUCT_LOCALES var in your project makefile.

R
On Thu, Dec 17, 2009 at 1:54 PM, Ryan Beesley 
<ryan.bees...@swypeinc.com<mailto:ryan.bees...@swypeinc.com>> wrote:
That's great, very close to what I'm looking for.  We are adding our own locale 
resources for our apk, so I don't think that is a problem for us, but when I 
build an AOSP build, not all these locales are selectable from the settings.  
I'm sure I just need to modify some file somewhere that says to include these 
additional locales, but I don't know where.

/Ryan

From: android-porting@googlegroups.com<mailto:android-porting@googlegroups.com> 
[mailto:android-porting@googlegroups.com<mailto:android-porting@googlegroups.com>]
 On Behalf Of Dianne Hackborn
Sent: Thursday, December 17, 2009 12:58 PM
To: android-porting@googlegroups.com<mailto:android-porting@googlegroups.com>
Subject: Re: [android-porting] Adding different locales to an image

Either put the string resources along side the others for each .apk (see 
frameworks/base/core/res/res/values* for all the ones in the framework), or use 
an overlay for your device to add resources to all of the .apks.
On Thu, Dec 17, 2009 at 12:38 PM, Ryan Beesley 
<ryan.bees...@swypeinc.com<mailto:ryan.bees...@swypeinc.com>> wrote:
How do we add other locales?  Is there a comprehensive list of available 
locales for the platform and how do you add the locales to the image so that 
you can select them on a device?

Ryan Beesley
Senior QA Engineer

--
unsubscribe: 
android-porting+unsubscr...@googlegroups.com<mailto:android-porting%2bunsubscr...@googlegroups.com>
website: http://groups.google.com/group/android-porting



--
Dianne Hackborn
Android framework engineer
hack...@android.com<mailto: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.
--
unsubscribe: 
android-porting+unsubscr...@googlegroups.com<mailto:android-porting%2bunsubscr...@googlegroups.com>
website: http://groups.google.com/group/android-porting
--
unsubscribe: 
android-porting+unsubscr...@googlegroups.com<mailto:android-porting%2bunsubscr...@googlegroups.com>
website: http://groups.google.com/group/android-porting

--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to