SUNWcsu
The utility reads source definitions for one or more locale categories belonging to the same locale from the file named in the -i option (if specified) or from standard input.
Each category source definition is identified by the corresponding environment variable name and terminated by an END category-name statement. The following categories are supported.
Category | File | Description |
LC_CTYPE | localename.chrtbl | binary data containing character classification information |
localename.chrtbl.c | C language source file, to be used by programmers as needed | |
localename.charmap | character mapping file | |
LC_COLLATE | localename.collate | collation information used by runtime collation library routines |
localename.collate.hash | hashed collation information | |
LC_MESSAGES | localename.message.msg | binary message catalogue file used by nl_langinfo() |
localename.message | source message catalogue file | |
LC_NUMERIC | localename.numeric | binary numeric information for numeric category |
LC_TIME | localename.time | text file containing information used by strftime() and nl_langinfo() |
LC_MONETARY | localename.monetary | binary monetary information used by strftime() and nl_langinfo() |
The files created by localedef should be renamed as follows:
/time
- localename.chrtbl
- /usr/lib/locale/locale/LC_CTYPE /ctype
- localename.charmap
- /usr/lib/locale/locale/LC_CTYPE /charmap
- localename.collate
- /usr/lib/locale/locale/LC_COLLATE /CollTable
- localename.collate.hash
- /usr/lib/locale/locale/LC_COLLATE /CollTable.hash
- localename.message.msg
- /usr/lib/locale/locale/LC_MESSAGES /SUNW_OST_LINFO
- localename.numeric
- /usr/lib/locale/locale/LC_NUMERIC /numeric
- localename.time
- /usr/lib/locale/locale/LC_TIME
If an error is detected, no permanent output will be created.