[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 (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/   Wed Aug  2 21:13:17 2006
+++        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"
@@ -88,8 +87,12 @@
        CXXFLAGS="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
        LIBS="$LIBS -lshell32 -lws2_32"
+       panlocaledir="locale"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]