AbiWord supports the standard localization mechanism using LANG and LC_ variables (if you are not familiar with this mechanism see `man locale' as well as the relevant Linux HOWTOs). It works with both 8-bit locales and UTF-8 locale. However, if you are using locale different than Latin-1 (iso 8859-1) there are some things you will need to do to get correct behavior. Please note that this document does not contain instructions how to set up a particular locale on your machine, only things you will need to do to get AbiWord working under non-Latin-1 locales. (For general instructions on how to setup a particular locale on your computer, you should see the relevant Linux HOWTO.)
In the following a command prompt will be indicated by '#'.
The default AbiWord locale is en_US. If you use a different, non-Latin-1 locale, you will need to provide your own fonts. AbiWord fonts should be located in
You should see something like
It is important that the encoding (the part after the dot) is specified
it will not work. Setting the LANG variable prior to starting AbiWord is easy, in Bash you do something like
You do not have to make a system-wide modification of your $LANG setting, all that is needed is that the variable is set prior to running AbiWord. I personally use a short script to run Czech localization of AbiWord which I call
But now back to the fonts; once you have created the locale specific directory, you put your fonts in it in the same manner you would install additional fonts into the main fonts directory; you will find instructions in the separate document
There are some keyboard issues to be taken care of as well, not because AbiWord would require something unusual, but because keyboard on non-Latin1 localizations of common Linux distributions is frequently set up incorrectly. You will find the details in the
To use UTF-8 locale with AbiWord, you will need to install Unicode fonts; AbiWord does not support font sets. In my experience, it is not possible to set up pfa/pfb font under XFree86 4 to behave as a Unicode font (if you find a way to register a pfa font with the server as a Unicode font, please let me know, so that I can update this document). Thus you will have to use TTF fonts only.
Under UTF-8 locale AbiWord uses the same keyboard handling mechanism that the UTF-8 enabled xterm does, and your keyboard can generate arbitrary Unicode values. The details of assigning these values to your keyboard are found in the