Here is a patch from a Japanese user of GIMP 1.0 to add Japanese menus if LANG is set properly.
--- Begin Message ---
- To: submit@xxxxxxxxxxxxxxx
- Subject: Bug#44134: Please test this PATCH makes gimp-1.0 can use Japanese menu
- From: yeno1013@xxxxxxxxxxxxxxx
- Date: 05 Sep 1999 01:15:53 +0900
- Delivered-to: che@debian.org
- Reply-to: yeno1013@xxxxxxxxxxxxxxx, 44134@xxxxxxxxxxxxxxx
- Resent-cc: Ben Gertzfield <che@xxxxxxxxxx>
- Resent-date: Sat, 04 Sep 1999 16:18:51 GMT
- Resent-from: yeno1013@xxxxxxxxxxxxxxx
- Resent-message-id: <handler.44134.B.93646169613710@bugs.debian.org>
- Resent-sender: iwj@xxxxxxxxxx
- Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
- User-agent: Chaos/1.13.0 REMI/1.13.2 (Ņike-Ikoinomori) FLIM/1.13.2 (Kasanui) Emacs/20.3 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
- Xref: gilgamesh.cse.ucsc.edu mail.debian.bugs:2620
Package: libgtk1.2 Version: 1.2.4-2 This patch makes Gimp-1.0 (not Gimp1.1 or Gimp1.2) can use Japanese menu. (To use LANG environmet, Gimp1.0 use japanese menu. IMHO, There is no side-effect for non-japanese user.) Please read this patch, and if you can apply it, please do it. If you cannot, please tell me. If so, I will upload it as other package. Anyway the feature provided by this patch is very very important for Japanese users, so please try it. README GtkConv.patch ^^^^^^^^^^^^^^^^^^^^^^^^ INSTALL: apply this patch (gtkconv.patch) to a gtk+ source tree. then do (as described in gtk+-1.x.y/INSTALL): ./configure; make; make install and copy dictionary file(s) to a suitable directory (please read below). DICTIONARY: the dictionary used for conversion is read in gtk's initialization step. to reduce the size of dictionary, each gtk application has a corresponding dictionary determined by the application's name. for example, "menu.gimp" is used for gimp's dictionary, "menu.testgtk" for testgtk similarly. furthermore, you can choose the dictionaries' directory by the value of an environment variable: GDK_CONV, which holds the pathname for a directory (files). if GDK_CONV was defined but having no value, this variable's default is '$HOME/.gtk(/$LANG)' or '@prefix@/share/gtkconv/menu(/$LANG)'. USAGE: 1. user settings about locale are required. you should set the environment variables LANG to suitable values. 2. set an environment variable: GDK_CONV as above. 3. set fontset resource for default or label widget in file: gtkrc for the application which you want to localize. without it, conversion is never invoked. PATCH (gtkconv.patch.gz) ^^^^^^^^^^^^^^^^^^^^^^^^^Attachment: gtkconv.patch.gz
Description: Binary dataDICTIONARY (japanese-menu.tgz) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Attachment: japanese-menu-26Nov98.tgz
Description: Binary data-- --------------------------- Yukihito ENOKIDA (toyama) yeno1013@xxxxxxxxxxxxxxx
--- End Message ---
-- Brought to you by the letters D and I and the number 15. "To Perl, or not to Perl, that is the kvetching." Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/