### Example: LC_MESSAGES Locale Category Definition

The following lines are a sample definition of an LC_MESSAGES locale category, as they might appear in a locale source file.

    #############
    LC_MESSAGES
    #############
    # yes expression is a string that starts with
    # "SI", "Si" "sI" "si" "s" or "S"
    yesexpr "<circumflex><left-parenthesis><left-square-bracket><s><S>\
    <right-square-bracket><left-square-bracket><i><I><right-square-bracket>\
    <vertical-line><left-square-bracket><s><S><right-square-bracket>\
    <right-parenthesis>"

    # no expression is a string that starts with
    # "NO", "No" "nO" "no" "N" or "n"
    noexpr "<circumflex><left-parenthesis><left-square-bracket><n><N>\
    <right-square-bracket><left-square-bracket><o><O><right-square-bracket>\
    <vertical-line><left-square-bracket><n><N><right-square-bracket>\
    <right-parenthesis>"

    END LC_MESSAGES

Internationalization
Localization and Locales

Customize a Locale

LC_MESSAGES Locale Category
Locale Categories
Locale Source Files