[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-devel] win32 i18n support
From: |
GISQUET Christophe |
Subject: |
[Pan-devel] win32 i18n support |
Date: |
Mon, 07 Aug 2006 21:46:58 +0200 |
User-agent: |
Thunderbird 1.5.0.5 (Windows/20060719) |
I kind of successfully built pan with i18n support for at least windows 2000.
The minor attached patch moves the gettext folder from wherever it would
normally be to just "locale", which will work as soon the binary is started in
pan.exe's folder, or the shortcut is set to start the application in this
folder. This could be made path independent by passing the binary's path to
gettext.
I said "kind of" because unfortunately only some strings are translated, and
not the most important ones, the GUI elements and menus. From what it appears,
those are marked as "not translatable" with N_(). I remember a bugzilla
entry discussing this point, mentioning the translation was made twice in fact
but can't currently find this entry, nor where would the second time occurs.
So I'm still investigating the cause of the problem.
Best regards,
Christophe GISQUET
--- ../pan-0.106/configure.in Wed Aug 2 21:13:17 2006
+++ configure.in Sun Aug 6 13:24:00 2006
@@ -49,7 +49,6 @@
ALL_LINGUAS="am az bg ca cs da de el en_CA en_GB es et fi fr ga gl hr hu it ja
ko lt lv ms nb nl no pl pt pt_BR ro ru sk sl sq sr address@hidden sv tr uk vi
zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
panlocaledir='${prefix}/${DATADIRNAME}/locale'
-AC_SUBST(panlocaledir)
PKG_CHECK_MODULES(PCRE, libpcre >= $PCRE_REQUIRED)
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED \
@@ -88,8 +87,12 @@
CXXFLAGS="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
CPPFLAGS="$CPPFLAGS -DWIN32_LEAN_AND_MEAN"
LIBS="$LIBS -lshell32 -lws2_32"
+ panlocaledir="locale"
;;
esac
+AC_SUBST(panlocaledir)
AC_CONFIG_FILES([Makefile
pan.spec
- [Pan-devel] win32 i18n support,
GISQUET Christophe <=
- Re: [Pan-devel] i18n, GISQUET Christophe, 2006/08/09
- Re: [Pan-devel] i18n, Frederic Bezies, 2006/08/09
- Re: [Pan-devel] i18n, GISQUET Christophe, 2006/08/09
- Re: [Pan-devel] i18n, Frederic Bezies, 2006/08/10
- Re: [Pan-devel] i18n, GISQUET Christophe, 2006/08/12
- Re: [Pan-devel] i18n, Frederic Bezies, 2006/08/12
- Re: [Pan-devel] i18n, GISQUET Christophe, 2006/08/12