68d40d4a98
Refs to:https://github.com/bminor/musl Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menu "Locale Support"
|
|
|
|
config LIBC_LOCALE
|
|
bool "Enable I18N (LOCALE) support"
|
|
default n
|
|
---help---
|
|
By default, i18n (locale) support is disabled.
|
|
|
|
if LIBC_LOCALE
|
|
|
|
config LIBC_LOCALE_CATALOG
|
|
bool "Enable X/Open Message Catalog"
|
|
depends on !DISABLE_ENVIRON
|
|
default n
|
|
---help---
|
|
Enable catopen, catgets and catclose support.
|
|
|
|
config LIBC_LOCALE_GETTEXT
|
|
bool "Enable GNU gettext(libintl)"
|
|
depends on !DISABLE_ENVIRON
|
|
default n
|
|
---help---
|
|
Enable gettext, textdomain and bindtextdomain support.
|
|
|
|
config LIBC_LOCALE_PATH
|
|
string "The default search path for message catalog file"
|
|
depends on LIBC_LOCALE_CATALOG || LIBC_LOCALE_GETTEXT
|
|
default "/etc/locale"
|
|
---help---
|
|
This is the default search path to the location where
|
|
the message catalog file is expected to be found.
|
|
|
|
config LIBC_LOCALE_CHINESE
|
|
bool "Enable chinese encoding"
|
|
default n
|
|
|
|
config LIBC_LOCALE_CODEPAGES
|
|
bool "Enable codepages encoding"
|
|
default n
|
|
|
|
config LIBC_LOCALE_JAPANESE
|
|
bool "Enable japanese encoding"
|
|
default n
|
|
|
|
config LIBC_LOCALE_KOREAN
|
|
bool "Enable korean encoding"
|
|
default n
|
|
|
|
endif
|
|
|
|
endmenu # Locale Support
|