summaryrefslogtreecommitdiff
path: root/po/README.ADD_NEW_LANGUAGE
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:01 +0000
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:01 +0000
commite7e90b72fd3161c5d55fed49e100781dfa3e9408 (patch)
tree67cfcfae6b9a9e15701a332dfacbe0ca6440f16c /po/README.ADD_NEW_LANGUAGE
parent2d113e8792747151bf5d830f1a1485f2f951f940 (diff)
Imported Upstream version 0.84upstream/0.84
Diffstat (limited to 'po/README.ADD_NEW_LANGUAGE')
-rw-r--r--po/README.ADD_NEW_LANGUAGE69
1 files changed, 0 insertions, 69 deletions
diff --git a/po/README.ADD_NEW_LANGUAGE b/po/README.ADD_NEW_LANGUAGE
deleted file mode 100644
index da658fa..0000000
--- a/po/README.ADD_NEW_LANGUAGE
+++ /dev/null
@@ -1,69 +0,0 @@
-
-How to add a new language to xsane:
------------------------------------
-
-SHORT DESCRIPTION:
-------------------
-
-XSane uses gettext for supporting translation into different languages.
-*** BUT ***:
-I don`t use the standard routines to create the empty translation(*.po) file.
-My way is more flexible when changes in the original textes are made:
-
-All texts that are printed from xsane are #DEFINEd in xsane-text.h.
-Every text that is added to xsane will be added in frontend/xsane-text.h
-AND in po/newlanguage.in.in.
-
-******* Please don`t edit or create a *.po file by hand! ********
-
-The files *.po are created form the files *.po.in . In xsane and in the
-*.po.in files we use the #defined labels of the text instead of the text.
-This way the original text can be changed without all language files
-have to be changed!
-
-po.in2po uses the gcc preprocessor to replace the #defined labels by the
-original (up to date) text and creates the *.po files.
-
-make_newlanguage.po.in creates the file newlanguage.po.in, the gcc preprocessor
-is used to add the recent original texts as comments.
-
-
-
-WHAT DO YOU HAVE TO DO TO CREATE ADD A NEW LANGUAGE?
-----------------------------------------------------
-
-Take the file newlanguage.po.in and copy it to "language".po.in
-where "language" is the abbrevation that represents you language
-(eg. fr.po.in for french, de.po.in for german,...).
-
-Edit the file "language".po.in and type in the translation
-in the lines:
-msgstr "text"
-
-If that is done:
- - if you have gcc installed, call po.in2po "language"
- - if you don`t have gcc see if you have a C preprocessor you can use
- if not, I will transform it for you
-
-now change to the xsane directory and do
-edit configure.in and add "language" to ALL_LINGUAS, then do
- make distclean
- ./configure
- make
-and as root
- make install
-
-(You have to install xsane, otherwise the language files will not be found!)
-
-set environment variable LANG to your language
-(eg. export LANG=de) and call xsane
-
-If you want to make your translation public
-please send your "language".po.in file to:
-Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
-If you have any problems please also contact
-me on the email-address above!
-
-Bye
-Oliver Rauch
-