Blame doc/Locales

Packit 15a96c
Minicom Native Language Support
Packit 15a96c
Packit 15a96c
Now minicom has internationalization (i18n for short) support. To make it
Packit 15a96c
work please do the following steps:
Packit 15a96c
Packit 15a96c
- make sure you have gettext installed and if you compile the program
Packit 15a96c
yourself, check src/Makefile that "PO = po" is defined and "-D_I18N_"
Packit 15a96c
is included in the OPFLAGS definition
Packit 15a96c
Packit 15a96c
- in your profile (/etc/profile or something like that for the system 
Packit 15a96c
profile, or $HOME/.profile for your personal profile) include the 
Packit 15a96c
following environment variable settings:
Packit 15a96c
Packit 15a96c
---------------------------- 8< ------------------------------------------
Packit 15a96c
LC_CTYPE=ISO-8859-1 # or the correct ISO code for your character set
Packit 15a96c
LANG=pt_BR          # change pt_BR to the correct iso code for your language
Packit 15a96c
export LANG LC_CTYPE
Packit 15a96c
---------------------------- 8< ------------------------------------------
Packit 15a96c
Packit 15a96c
In the next login just run minicom!
Packit 15a96c
Packit 15a96c
Currently supported languages are Brasilian Portuguese (pt_BR), Finnish
Packit 15a96c
(fi), Hungarian (hu), Japanese (ja_JP.sjis and ja_JP.ujis), French (fr),
Packit 15a96c
Polish (pl), Czech (cs), Spanish (es) and Russian (ru).
Packit 15a96c
Turkish translations are under construction (for a long time... :( ).
Packit 15a96c
Packit 15a96c
If you want to add support for more languages, this is what to do:
Packit 15a96c
(I suppose you already have downloaded and unpacked the source packet)
Packit 15a96c
Packit 15a96c
- go to the po directory
Packit 15a96c
- copy minicom.pot (or some existing *.po file) as xx.po where xx is the
Packit 15a96c
  iso code for your language
Packit 15a96c
- edit the xx.po file to include the translations of the English strings
Packit 15a96c
  to your language. The lines beginning with "msgid" contain the English
Packit 15a96c
  string, and the lines beginning with "msgstr" is where you should write
Packit 15a96c
  the translations. See the existing *.po files.
Packit 15a96c
  Check that the translated strings fit their places and don't overflow.
Packit 15a96c
  (This shouldn't cause problems in running the program, but the user
Packit 15a96c
  might not understand the truncated text, and screen layouts may become
Packit 15a96c
  ugly.)
Packit 15a96c
  Pay special attention to the dialing directory menu (Dial/Find/Add etc.)
Packit 15a96c
  if you translate it, check that the highlight cursor makes sense.
Packit 15a96c
  The width of the highlight will be the length of the whole string divided
Packit 15a96c
  by the number of entries. Pad the string with spaces where necessary so
Packit 15a96c
  that there is a reasonable "cell" for each entry.
Packit 15a96c
- add xx (the iso code of your language) to the ALL_LINGUAS list in
Packit 15a96c
  the "configure" and "configure.in" files (depending on where you got the
Packit 15a96c
  source, you might not have both of them) in the minicom source base
Packit 15a96c
  directory and rerun ./configure to add it to all the other necessary
Packit 15a96c
  places.
Packit 15a96c
- run "make" and "make install" in the minicom source base directory,
Packit 15a96c
  or if you don't want to compile the program itself, you can just run
Packit 15a96c
  them in the po directory. You'll probably need the root permissions to
Packit 15a96c
  run "make install", but not for anything else in the process.
Packit 15a96c
- send your xx.po file to the address(es) below to get it included in
Packit 15a96c
  the next version of Minicom. I'd appreciate it if you are willing to
Packit 15a96c
  make the necessary changes to the translation file as the program itself
Packit 15a96c
  is changed.. it is best done by a native speaker of the language, and
Packit 15a96c
  I don't even understand all the languages in the world!
Packit 15a96c
- when new versions are released some new strings probably become available
Packit 15a96c
  for translation, please go to the src/po directory and execute make
Packit 15a96c
  update-po, the new strings will be added to the catalogs and should then
Packit 15a96c
  be translated. Note that any strings already translated but modified
Packit 15a96c
  should be also fixed/translated. The old ones will be left commented at
Packit 15a96c
  the end of the catalog.
Packit 15a96c
Packit 15a96c
Packit 15a96c
Sat 21 Mar 1998 - Fri 21 Dec 2001
Packit 15a96c
Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Packit 15a96c
Jukka Lahtinen <walker@netsonic.fi>