LC_MESSAGES Locale Category

The LC_MESSAGES category source definition in locale source files defines the format and values for positive and negative responses in the locale that is compiled from that source by the LOCALDEF utility.

The following keywords make up this category definition:

  • copy
  • yesexpr
  • noexpr
  • copy
    Specifies the name of an existing locale to be used as the source for the definition of this category. If you specify this keyword, no other keyword should be present in this category. If the locale is not found, an error is reported and no locale output is created. The copy keyword cannot specify a locale that also specifies the copy keyword for the same category.

    yesexpr
    The operand consists of an extended regular expression that describes the acceptable affirmative response to a question that expects an affirmative or negative response.

    noexpr
    The operand consists of an extended regular expression that describes the acceptable negative response to a question that expects an affirmative or negative response.

    Example: LC_MESSAGES Locale Category Definition



    Internationalization
    Localization and Locales


    Customize a Locale


    Locale Categories
    Locale Source Files