Spanish(5) — Macro Packages and Conventions
NAME
Spanish, spanish − Introduction to Spanish language support
DESCRIPTION
This reference page describes the codeset, locale, device, and other kinds of support for the Spanish language.
Codesets
The operating system supports the following coded character sets (codesets) for Spanish by means of locales, codeset converters, or both:
•ISO 8859-1 (ISO Latin-1)
ISO8859-1 is the string that represents this codeset in the names of locales and codeset converters. See the iso8859−1(5) reference page.
•ISO 8859-15 (ISO Latin-9)
ISO8859-15 is the string that represents this codeset in the names of locales and codeset converters. See the iso8859−15(5) reference page.
•UCS-2, UCS-4, and UTF-8
UCS-2, UCS-4, and UTF-8 are the strings that represent these encoding formats in the names of locales and codeset converters. See the Unicode(5) reference page for more information.
•PC code pages
cp437, cp850, and cp1250 are the strings that represent these codesets in the names of codeset converters. See the code_page(5) reference page for more information.
See the i18n_intro(5) and l10n_intro(5) reference pages for introductory information on codesets. The iconv_intro(5) reference page discusses codeset converters and how to use them.
Locales
The operating system supports the following Spanish locales:
•es_ES.ISO8859-1, es_ES.ISO8859-15, and es_ES.UTF-8, for Spain
Of these locales, only the .ISO8859-15 and .UTF-8 locales support the euro currency sign.
You can use the locale command (see locale(1)) to find out which locales are installed on your system. See i18n_intro(5) for information on setting locale from the operating system command line.
For the Common Desktop Environment (CDE), you set locale by setting the session language. To do this, use the Language menu accessed from the Options button of the Login window.
Keyboards
The operating system supports the following VT style and PC style keyboards with Spanish characters printed on the keys:
| VT Style (105/108 keys) | PC Style (102 keys) |
| LK201-LS | LK442-PR |
| LK401-AS | LK442-PS |
| LK411-AS | LK444-AR |
| LK450-AS | LK444-AS |
| LK461-AS | LK471-AR |
| LK46W-AS | LK471-AS |
| LK47W-AS | |
| LK97W-AR | |
| LK97W-AS | |
| PCXAL-AS | |
| PCXAL-FS | |
| PCXAL-GS | |
| PCXAL-KS |
For your keyboard to function correctly with your system, you must load a keyboard mapping table (keymap) that is appropriate for your keyboard’s model and language. If you load a keymap that does not correspond to your keyboard’s model and language, your keyboard behavior is unpredictable. The label located on the bottom surface of a keyboard usually specifies its model (five letter code) and language (two letter code). See the keyboard(5) reference page for general information on keymaps and instructions for loading them in different formats. The following tables supply Spanish-specific information that you need when loading keymaps.
Selecting keymaps in xkb format:
| For VT Style | For PC Style | ||
| Keyboard: | Select: | Keyboard: | Select: |
| LK201-LS | lk201 | LK442-PR | lk442 or lk44x |
| LK401-AS | lk401 | LK442-PS | lk442 or lk44x |
| LK411-AS | lk411 | LK444-AR | lk444 or lk44x |
| LK450-AS | lk450 | LK444-AS | lk444 or lk44x |
| LK451-AS | lk450 | LK471-AR | lk471ar |
| LK461-AS | lk461 | LK471-AS | lk471as or lk471 |
| LK46W-AS | lk461 | LK47W-AS | lk471as or lk471 |
| LK97W-AR | lk97war | ||
| LK97W-AS | lk97was or lk97w | ||
| PCXAL-AS | pcxalas | ||
| PCXAL-FS | pcxalfs | ||
| PCXAL-GS | pcxalgs | ||
| PCXAL-KS | pcxalks |
Selecting keymaps in xmodmap format:
| For VT Style | For PC Style | ||
| Keyboard: | Select: | Keyboard: | Select: |
| LK201-LS | spanish lk201ls dp | LK442-PR | spanish lk444ks |
| spanish lk201ls tw | LK442-PS | spanish lk444ks | |
| LK401-AS | spanish lk401as dp | LK444-AR | spanish lk444ks |
| spanish lk401as tw | LK444-AS | spanish lk444ks | |
| LK411-AS | spanish lk411as | LK471-AS | spanish pcxalgs |
| LK450-AS | spanish lk411as | LK47W-AS | spanish pcxalgs |
| LK451-AS | spanish lk411as | PCXAL-AS | spanish pcxalgs |
| LK461-AS | spanish lk411as | PCXAL-FS | spanish pcxalgs |
| LK46W-AS | spanish lk411as | PCXAL-GS | spanish pcxalgs |
| PCXAL-KS | spanish pcxalgs |
Keyboards can have keys with characters printed on both the left and right half of the keycap. The way you set or use your keyboard to send different sets of characters varies from one keyboard model to another. Furthermore, your keyboard allows you to enter more characters than those printed on the keycaps. Refer to the keyboard(5) reference page for information on how to enter characters.
Printers
PostScript fonts for languages supported by the ISO 8859-1 codeset are printer resident. See the i18n_printing(5) reference page for a general discussion of your printing options.
SEE ALSO
Commands: locale(1)
Others: code_page(5), euro(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), iso8859-1(5), iso8859-15(5), keyboard(5), l10n_intro(5), Unicode(5)
Writing Software for the International Market