Hi,
all of no translations are were found by hugin.
After some googling I found this page:
https://code.google.com/p/dolphin-emu/issues/detail?id=6883
Apparently the same thing happened here, because I removed my self compiled wx3.0
and installed the appropriate debian packages like libwxbase3.0-0, ... wx3.0-headers etc.
I am installing into /usr/local, so for instance slovak hugin.mo goes to
/usr/local/share/locale/sk/LC_MESSAGES/hugin.mo
Through strace one can see the stat messages like
25708 stat("/usr/share/locale/sk/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/share/locale/sk/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/share/locale/sk_SK/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/share/locale/sk_SK/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/share/locale/sk_SK.UTF-8/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/share/locale/sk_SK.UTF-8/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk_SK/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk_SK/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk_SK.UTF-8/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory)
25708 stat("/usr/local/share/hugin/sk_SK.UTF-8/LC_MESSAGES/hugin.mo", 0x7fff5c65bad0) = -1 ENOENT (No such file or directory
Easy to change the CMakeLists.txt
diff -r 7dbb6ab5bcfb CMakeLists.txt
--- a/CMakeLists.txt Thu Mar 19 15:40:47 2015 +0100
+++ b/CMakeLists.txt Thu Mar 19 16:02:29 2015 +0100
@@ -496,7 +496,7 @@
SET (MANDIR "share/man")
ENDIF(NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
-SET(LOCALEDIR share/locale)
+SET(LOCALEDIR share/hugin)
SET(ICONDIR share/icons)
SET(LINKDIR share/applications)
SET(LIBDIR lib${LIB_SUFFIX})
OK, this works for me, but I am sure, it is not portable enough.
Someone with better solution?
Kornel