2008-09-03 18:06:24 +08:00
|
|
|
This file contains some important hints for translators.
|
2002-02-26 02:36:03 +08:00
|
|
|
|
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
The current status of the GIMP translation can be checked at
|
1998-11-09 10:05:24 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
http://l10n.gnome.org/module/gimp
|
1998-11-09 10:05:24 +08:00
|
|
|
|
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
Translation of the GNU Image Manipulation Program is handled by the
|
|
|
|
GNOME Translation Project (see http://l10n.gnome.org/). If you want to
|
|
|
|
help, we suggest that you get in touch with the translation team of
|
|
|
|
your language (see http://l10n.gnome.org/teams/).
|
1998-11-09 10:05:24 +08:00
|
|
|
|
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
GIMP is different
|
1998-11-09 10:05:24 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
GIMP is a complex application which has a bunch of scripts and
|
2002-02-26 02:36:03 +08:00
|
|
|
plug-ins that all want to be internationalized. Therefore there is
|
2008-09-03 18:06:24 +08:00
|
|
|
not one catalog but many. For a full translation of GIMP's UI, you
|
|
|
|
will have to add translations for the following catalogs:
|
2000-03-26 03:55:57 +08:00
|
|
|
|
2004-12-17 01:15:34 +08:00
|
|
|
po/gimp20.po -- the core
|
|
|
|
po-libgimp/gimp20-libgimp.pot -- the libgimp library
|
2006-09-21 22:26:06 +08:00
|
|
|
po-plugins/gimp20-std-plugins.pot -- the C plug-ins
|
2008-09-03 18:06:24 +08:00
|
|
|
po-python/gimp20-python.pot -- the pygimp plug-ins
|
2004-12-17 01:15:34 +08:00
|
|
|
po-script-fu/gimp20-script-fu.pot -- the script-fu scripts
|
2005-06-11 00:38:36 +08:00
|
|
|
po-tips/gimp20-tips.pot -- the startup tips
|
2003-02-09 18:43:30 +08:00
|
|
|
|
2003-02-24 00:29:30 +08:00
|
|
|
If you are looking for the translations of gimp-perl, please note that
|
2009-04-25 23:57:19 +08:00
|
|
|
gimp-perl has been moved into it's own git module called
|
2007-01-20 15:38:52 +08:00
|
|
|
gimp-perl.
|
|
|
|
|
2000-03-26 03:55:57 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
GIMP Tips dialog
|
2000-10-15 01:44:12 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
In addition to message catalogs GIMP provides a file with tips that
|
|
|
|
are displayed in the Tips dialog. This file is in XML format and can
|
|
|
|
be found in the tips directory. The english tips messages are
|
2002-02-26 02:36:03 +08:00
|
|
|
extracted from gimp-tips.xml.in so translators can use the usual
|
|
|
|
tools to create a <lang>.po file that holds the translations. All
|
|
|
|
translations are then merged into gimp-tips.xml with language
|
2004-04-09 20:13:48 +08:00
|
|
|
identifiers taken from the po filename.
|
2000-10-15 01:44:12 +08:00
|
|
|
|
2002-02-26 02:36:03 +08:00
|
|
|
GIMP needs to know what language it should select from gimp-tips.xml.
|
|
|
|
Therefore, there's the special message "tips-locale:C" in the main
|
|
|
|
message catalog that needs to be translated correctly. For a german
|
|
|
|
translation of the tips this would look like this:
|
2000-10-15 01:44:12 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
#: ../app/dialogs/tips-parser.c:188
|
2002-02-26 02:36:03 +08:00
|
|
|
msgid "tips-locale:C"
|
|
|
|
msgstr "tips-locale:de"
|
2001-08-30 05:39:54 +08:00
|
|
|
|
2000-03-26 03:55:57 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
Localization of third-party plug-ins
|
2000-03-26 03:55:57 +08:00
|
|
|
|
2008-09-03 18:06:24 +08:00
|
|
|
Third-party plug-ins (plug-ins that are not distributed with GIMP)
|
|
|
|
can't have their messages in the gimp-std-plugins textdomain. We
|
|
|
|
have therefore provided a mechanism that allows plug-ins to install
|
|
|
|
their own message catalogs and tell GIMP to bind to that
|
|
|
|
textdomain. This is necessary so that GIMP can correctly translate
|
|
|
|
the menu paths the plug-in registers. Basically the plug-in has to
|
|
|
|
call gimp_plugin_domain_add() or gimp_domain_plugin_add_with_path()
|
|
|
|
before it registers any functions. Have a look at the script-fu
|
|
|
|
plug-in to see how this is done in detail.
|