Add a new local support.

22 views
Skip to first unread message

Shrenik Vikam

unread,
May 23, 2012, 4:59:02 AM5/23/12
to android...@googlegroups.com
Hello , 
I want to add a local language support to my custom build , how should i processed with same.

Alvin Wong

unread,
May 23, 2012, 11:28:20 AM5/23/12
to android-porting
Hi,

You mean locale, don't you?

If you want to build all locales add this to something.mk (you should
be including the file in AndroidProducts.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
If you want to include only some locales, define PRODUCT_LOCALES :=
en_US zh_TW (where zh_TW is the 2nd locale to be added. The first one
will be default)

Just like this:
http://sourceforge.net/p/ipaq214android/android/ci/7f902d2bea5a214b5df6d8c44a1e369dd104b2c6/tree/ipaq214/full_ipaq214.mk?diff=a2aad586e6ed7b0fd5f5d17a62dca9b6d28ca4d4

Good luck,
Alvin Wong
Reply all
Reply to author
Forward
0 new messages