summaryrefslogtreecommitdiff
path: root/po/README
blob: d5ac25c45e0e7a02ca8320d2a56cd6c0f8ebeba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

SHORT DESCRIPTION:
------------------

XSane uses gettext for supporting translation into different languages. 

- To remake the *.po files when the original texts have changed or new texts have been added:
  make update-po
- To create the translation tables:
  make
- Using "u" (untranslated) and "f" (fuzzy) in emacs po-mode for updating strings.
- if you use other editors, search for keyword "fuzzy" and for \"\"
- when you translated fuzzy fields, remove the "fuzzy" marker, otherwise the
  translation will NOT be used


SELECT YOUR LANGUAGE:
---------------------

set environment variable LANG to your language
(eg. export LANG=german) and call xsane
You have to set the correct keyword. When you select
LANG=fr you will select the french translated texts but
not the correct fonts. Setting LANG=french works fine.

Note that some texts are stored in the preferences file
	~/.sane/xsane/xsane.rc
When you select another language you may want to remove
this file to also get these texts translated.

Note that backend dependant texts may not be translated because
there is possibly no translation table for selected language
for the backend you use.


NEW TRANSLATIONS:
-----------------

To create a new translation for a new language
copy xsane.pot to "language".po and edit "language".po

The field TEXT_TRANSLATION_INFO is meant for you to enter
your Name and Email-Adress, e.g.:
 "English translation\n"
 "by your name\n"
 "Email: your.email@address.domain\n"

Note that it is NOT allowed to translate the menu paths of the gimp!

To test/install your new translation:
 - edit xsane-0.*/configure, search for ALL_LINGUAS and add "language"
 - enter xsane-0.*, do
 - make distclean
 - ./configure
 - make
 - make install

If you want to make your translation public
please send your "language".po file to:
Oliver Rauch <Oliver.Rauch@rauch-domain.de>



THANKS:
-------

Thanks to Stanislav Brabec <utx@k332.feld.cvut.cz> for his sed scripts
and Changes in Makefile.in to simplify the rebuild of *.po files


Bye
Oliver Rauch