sane-project-backends/po
Michael Herder 8a51695d0c Fixed header in artec_eplus48u.de.po 2002-11-22 08:31:31 +00:00
..
Makefile.in Added translation for artec_eplus48u backend 2002-11-21 20:56:33 +00:00
README Translations are now enabled by default if the gettext tools are found. Use 2002-11-03 16:14:27 +00:00
artec_eplus48u.de.po Fixed header in artec_eplus48u.de.po 2002-11-22 08:31:31 +00:00
epson.de.po Moved the options contained in saneopts.h into a seperate file. So the backend 2002-01-19 20:42:17 +00:00
epson.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
gt68xx.de.po Added basic support for Plustek OpticPro 1248U (from Gerhard Jaeger 2002-11-13 17:45:24 +00:00
matsushita.fr.po New email address. 2002-05-29 04:52:14 +00:00
matsushita.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
mustek.de.po Moved the options contained in saneopts.h into a seperate file. So the backend 2002-01-19 20:42:17 +00:00
mustek.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
mustek_usb.de.po Moved the options contained in saneopts.h into a seperate file. So the backend 2002-01-19 20:42:17 +00:00
mustek_usb.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
plustek.de.po Cleanup... 2002-10-08 15:36:01 +00:00
plustek.es.po Minor bug fixes... 2002-10-04 17:55:55 +00:00
plustek.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
pnm.de.po Moved the options contained in saneopts.h into a seperate file. So the backend 2002-01-19 20:42:17 +00:00
pnm.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
saneopts.de.po Moved the options contained in saneopts.h into a seperate file. So the backend 2002-01-19 20:42:17 +00:00
saneopts.es.po Major update. Better support for LM983x based devices. 2002-08-16 11:43:30 +00:00
saneopts.fr.po New email address. 2002-05-29 04:52:14 +00:00
saneopts.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
sceptre.fr.po New email address. 2002-05-29 04:52:14 +00:00
sceptre.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
snapscan.de.po SnapScan backend 1.4.13: Support for ADF 2002-05-02 17:19:20 +00:00
snapscan.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
teco1.fr.po New email address. 2002-05-29 04:52:14 +00:00
teco1.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
umax.de.po 2002-01-19 Oliver Rauch <Oliver.Rauch@rauch-domain.de> 2002-01-19 21:46:23 +00:00
umax.fr.po New email address. 2002-05-29 04:52:14 +00:00
umax.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00
umax_pp.de.po - corrected a experiment that went into cvs by mistake 2002-11-07 21:15:51 +00:00
umax_pp.fr.po Fixed double msgids. 2002-10-08 11:43:38 +00:00
umax_pp.ru.po Added russion translations by: : 2002-11-12 16:17:02 +00:00

README

2002-11-03

This directory contains translations for the options of the SANE backends.
They are only used if the gettext tools are found by configure.
You will need GNU gettext: xgettext, msgfmt and msgmerge. The translations
are used at least by the frontends XSane and quiteinsane.

What do you need to do if you want to:

- Just read the description of SANE options in your language
  * Use XSane or your favourite frontend that supports translations, read the
    documentation and set LANG to your local setting (e.g. de_DE for German
    language in Germany).

- Update existing translations when the source code has changed
  * cd po ; make backend.lang.po
  * Edit backend.lang.po, add/change translations. (with lang = your
    language, e.g. "de", and backend = your backend, e.g. mustek)
  * make ; make install

- Add a new language to an existing backend
  * cd po ; make backend.lang.po-gen 
  * If no other backend uses this language, you must also create
    saneopts.lang.po: make saneopts.lang.po-gen.
  * Edit backend.lang.po, and saneopts.lang.po, enter translations. You only
    need to enter the translations for texts actually used by your backend. 
    Don't forget to edit the headers.
  * Edit Makefile.in, add backend.lang.po (and saneopts.lang.po if it's not
    yet there) to DISTFILES.
  * make ; make install

- Add a translation for a backend that is not listed yet in Makefile.in
  * Edit your sources and add SANE_I18N to the appropriate strings. Mark the
    descriptions (desc) and titles of options with SANE_I18N(). Do the same
    for string lists used in options. The name of options must NOT be marked.
    Do NOT mark macros. Especially you don't need to mark standard option
    strings like SANE_TITLE_NUM_OPTIONS as this is already done in saneopts.h.
    Example: s->opt[5].title = SANE_I18N("Enhancement");
  * Edit po/Makefile.in. Add a line "backend.*.po: yourfiles" where
    yourfiles is a space-separated list of all your files containing
    translatable text. Also add backend.lang.po to DISTFILES.
  * ./configure
  * cd po ; make backend.lang.po-gen
  * see above, if the language isn't used by other backends.
  * Edit backend-lang.po, enter translations. Don't forget to edit the header.
  * make ; make install

- Add support in your frontend:
  * The Makefile installs files called "sane-backend.mo" in the directory
    "$(prefix)/share/locale/lang/LC_MESSAGES/", e.g.:
    "/usr/local/share/locale/de/LC_MESSAGES/sane-umax.mo". For every backend
    and every language exactly one .mo file is installed, if the
    correspondent .po file is available.
  * As mentioned above, GNU gettext is used. 
  * With other NLS implementations, converting the mo files may work.

Bugs:
- I used sed to also include macros into *.pot.
- All well known options are added to *.lang.po even if they are not used
  in the backend.