hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #00830
[Bug 679715] Re: improved localization
Hi Yuv,
Point 1: You are using INSTALL_LOCALE_DIR. This is a fixed absolute
path, which does not work on Windows. A solution can be found now in
lines 288ff in src/celeste/Main.cpp. It moved some lines since the last
comment. So looking at the code, I see that this does also not work with
the bundled Mac version.
Point 2: e.g. in ImagesCaches.cpp you call twice
bindtextdomain( "hugin", INSTALL_LOCALE_DIR );
textdomain( "hugin" );
This code is linux only and should be moved into an own function
providing the platform specific part, see point 1
Concerning wxWidgets. wxWidgets provides own routines for translations.
So you need to check if wxWidgets own translation work together with the
new introduced gettext lib translation in part of Hugin libaries or if
there are cross over effects.
I have no idea for an other lib.
Concerning the links: They don't help further. Link 1 would introduce a dll -> dll hell. All other libraries in Hugin on Windows are static. Also the mentioned way does not provide the necessary files for linking the dll with Hugin.
Link 2 is using a compiliation model which is incompatible with Hugin.
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/679715
Title:
improved localization
Status in Hugin - Panorama Tools GUI:
Confirmed
Bug description:
http://groups.google.com/group/hugin-ptx/msg/81964d82d72e6879
Follow ups