Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e050219f authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by David 'Digit' Turner
Browse files

Make a full list of locales available

Use it for the sim build and full build.

Change-Id: I0050f9ee10aafa96cb89cad5d3f492bb1839e331
Orig-Change-Id: I64dfa7ac1b374529ef5f0c1460dd35171311115e
parent 8a545e04
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ PRODUCT_COPY_FILES := \
    development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
    development/data/etc/vold.conf:system/etc/vold.conf

# Put en_US first in the list, so make it default.
PRODUCT_LOCALES := en_US

# Pick up some sounds - stick with the short list to save space
# on smaller devices.
$(call inherit-product, frameworks/base/data/sounds/OriginalAudio.mk)
@@ -46,9 +49,8 @@ $(call inherit-product, frameworks/base/data/sounds/OriginalAudio.mk)
# Get the TTS language packs
$(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk)

# Get a list of languages. We use the small list to save space
# on smaller devices.
$(call inherit-product, build/target/product/languages_small.mk)
# Get the list of languages.
$(call inherit-product, build/target/product/locales_full.mk)

$(call inherit-product, build/target/product/generic.mk)

+5 −0
Original line number Diff line number Diff line
# The locales from the ICU "-large.dat" data set.
# See external/icu4c/stubdata.
# This is distinct from "languages_full.mk", which contains those locales for
# which we have translations. If you like, this file is i18n rather than l18n.
PRODUCT_LOCALES := en_US
+1 −1
Original line number Diff line number Diff line
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)

# Overrides
PRODUCT_NAME := sim
PRODUCT_DEVICE := sim
PRODUCT_LOCALES := en_US