It seems my localisation attempts on epilicious[1] fail miserably. At the moment I have the following code in the plugin: import gettext import gtk.glade try: gtk.glade.bindtextdomain('epilicious', '/usr/share/locale') gtk.glade.textdomain('epilicious') t = gettext.translation('epilicious', '/usr/share/locale') _ = t.ugettext except Exception, e: _ = lambda x : x The effect of this is that loading epilicious in a locale where epilicious has no translation results in all of epiphany reverting back to English. How should I do it? /M [1]: http://therning.org/magnus/computer/epilicious/ -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus therning org Jabber: magnus therning gmail com http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. The definition of insanity is doing the same thing over and over again and expecting different results. -- Albert Einstein
Attachment:
pgpRxZm6sHhOk.pgp
Description: PGP signature