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: [email protected] 
[mailto:[email protected]] On Behalf Of Robert Greenwalt
Sent: Thursday, December 17, 2009 2:02 PM
To: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Dianne Hackborn
Sent: Thursday, December 17, 2009 12:58 PM
To: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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: 
[email protected]<mailto:android-porting%[email protected]>
website: http://groups.google.com/group/android-porting



--
Dianne Hackborn
Android framework engineer
[email protected]<mailto:[email protected]>

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: 
[email protected]<mailto:android-porting%[email protected]>
website: http://groups.google.com/group/android-porting
--
unsubscribe: 
[email protected]<mailto:android-porting%[email protected]>
website: http://groups.google.com/group/android-porting

--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to