[Geany] Translation inactive when using Geany through Zero Install

Enrico Tröger enrico.troeger at xxxxx
Wed Dec 12 20:07:35 UTC 2007


On Wed, 12 Dec 2007 19:06:47 +0100, Enrico Tröger
<enrico.troeger at uvena.de> wrote:

> > I've compiled Geany the standard way, in a local folder, then
> > compressed it into a tar.bz2 archive. But when I run it the messages
> > are untranslated (except for the parts coming from GTK, such as
> > "Open", "Save", etc). I can't see from where it comes, since in
> > other Zero Install apps with exactly the same structure in the
> > cache, like Inkscape, the messages are translated as usual.
> In Geany, most paths are hardcoded with full pathname of the
> install prefix at configure time. That means, if you configure Geany
> normally, the compiled binary will look for language files
> at /usr/local/share/locale/... But if you package the installed files
> and then an user installs them via zeroinstall, this path is
> (probably) not correct anymore. So, Geany won't find the language
> files. And this happens not only to the language file but also for
> filetype definition files(in /usr/local/share/geany) and other stuff.
> The solution is to add binary relocation support to Geany which I'll
> do now(read: the next days). This is what Inkscape already does and
Ok, it was easier than assumed ;-). I just added the code to SVN.
You can try to use the current SVN version for testing and specify
"--enable-binreloc" to ./configure. Then it should work as expected.

It would be cool if you could a geany-svn feed for public testing.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20071212/a385a40e/attachment.pgp>


More information about the Users mailing list