2017-02-10 16:32:55 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2021-07-29 22:53:06 +02:00
|
|
|
menu "Locale Support"
|
2017-02-10 16:32:55 +01:00
|
|
|
|
|
|
|
config LIBC_LOCALE
|
|
|
|
bool "Enable I18N (LOCALE) support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
By default, i18n (locale) support is disabled.
|
2017-02-10 17:04:56 +01:00
|
|
|
|
2021-07-29 22:53:06 +02:00
|
|
|
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.
|
|
|
|
|
2021-07-29 22:58:57 +02:00
|
|
|
config LIBC_LOCALE_GETTEXT
|
|
|
|
bool "Enable GNU gettext(libintl)"
|
|
|
|
depends on !DISABLE_ENVIRON
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable gettext, textdomain and bindtextdomain support.
|
|
|
|
|
2021-07-29 22:53:06 +02:00
|
|
|
config LIBC_LOCALE_PATH
|
|
|
|
string "The default search path for message catalog file"
|
2021-07-29 22:58:57 +02:00
|
|
|
depends on LIBC_LOCALE_CATALOG || LIBC_LOCALE_GETTEXT
|
2021-07-29 22:53:06 +02:00
|
|
|
default "/etc/locale"
|
|
|
|
---help---
|
|
|
|
This is the default search path to the location where
|
|
|
|
the message catalog file is expected to be found.
|
|
|
|
|
2023-03-07 15:56:50 +01:00
|
|
|
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
|
|
|
|
|
2021-07-29 22:53:06 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
endmenu # Locale Support
|