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

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/10342288.Ju72uJxzfk%40amd64.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to