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 iso8859−1(5) for more information.
•ISO 8859-15 (ISO Latin-9)
ISO8859-15 is the string that represents this codeset in the names of locales and codeset converters. See iso8859−15(5) for more information.
•UTF-16, UCS-4, and UTF-8
UTF-16, UCS-4, and UTF-8 are the strings that represent these encoding formats in the names of locales and codeset converters. See Unicode(5) for more information.
•PC code pages
cp437, cp850, and cp1250 are the strings that represent these codesets in the names of codeset converters. See code_page(5) for more information.
See i18n_intro(5) and l10n_intro(5) for introductory information on codesets. See iconv_intro(5) for information on 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
The es_ES.ISO8859-15 and es_ES.UTF-8 locales use the euro symbol for currency. Because the es_ES.ISO8859-1 locale repertoire does not contain the euro symbol, it continues to use the peseta currency symbol.
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.
In the Common Desktop Environment (CDE), you need to set a locale by setting the session language. To do this, from the Options menu of the Login window, choose Language. Then, from the Language options menu, choose a session language.
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) |
| LK411-AS | LK471-AR |
| LK450-AS | LK471-AS |
| LK461-AS | LK47W-AS |
| LK46W-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 keyboard(5) 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: |
| LK411-AS | lk411 | LK471-AR | lk471ar |
| LK450-AS | lk450 | LK471-AS | lk471as or lk471 |
| LK451-AS | lk450 | LK47W-AS | lk471as or lk471 |
| LK461-AS | lk461 | LK97W-AR | lk97war |
| LK46W-AS | lk461 | 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: |
| 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. See keyboard(5) for information on how to enter characters.
Printers
PostScript fonts for languages supported by the ISO 8859-1 codeset are printer resident. See i18n_printing(5) 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