[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2009-01-07 Thread Jean-Peer Lorenz
** Changed in: nssbackup Status: Fix Committed => Fix Released -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member of NSsbackup team, which is subscribed to NSsbackup. ___

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-18 Thread Oumar Aziz OUATTARA
I commited your fix to BZR : https://code.launchpad.net/~nssbackup-dev/nssbackup/0.2. Thank a lot ** Changed in: nssbackup Status: Confirmed => Fix Committed -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug no

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-17 Thread Peer Lorenz
Maybe it is useful to define the application's name and the path to the translation files within a module in the nssbackup package. Then these data could be imported by the touched files above. Benefit: string literals were stored once in a single place. -- i18n does not work due to wrong place

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-17 Thread Peer Lorenz
** Attachment added: "modified version of upgrade-backups" http://launchpadlibrarian.net/18646473/upgrade-backups -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member of NSsbackup

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-17 Thread Peer Lorenz
** Attachment added: "modified version of nssbackup-restore-gui" http://launchpadlibrarian.net/18646468/nssbackup-restore-gui -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member o

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-17 Thread Peer Lorenz
** Attachment added: "modified version of nssbackupd" http://launchpadlibrarian.net/18646452/nssbackupd -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member of NSsbackup team, whic

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-17 Thread Peer Lorenz
Hello, I've looked into the whole i18n thing under Python and figured out the following: If the translation files were stored in an arbitrary directory, it is possible to set up this directory before using the i18n functionality. Moreover, this is the recommend way by the Python documentation (..

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-16 Thread Oumar Aziz OUATTARA
I looked at your 'patch'. Looks good. I'll integrate it once I get home. -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member of NSsbackup team, which is subscribed to NSsbackup.

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-16 Thread Oumar Aziz OUATTARA
Just FYI, I usually don't make the debug strings translatable.That might be the reason why you don't have the translations ... -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a member of N

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-16 Thread Peer Lorenz
For information: There is still something wrong - translation of the UI (Glade) works so far, but none debug message were translated. I'll go into this. -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification be

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-16 Thread Peer Lorenz
Another solution to this should be the explicit setting of the path to the locales. The Python documentation suggests: import gettext gettext.bindtextdomain('myapplication', '/path/to/my/language/directory') gettext.textdomain('myapplication') _ = gettext.gettext # ... print _('This is a translat

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-15 Thread Oumar Aziz OUATTARA
Thank you Peer. Unfortunately, I can't let NSsbackup install files in /usr/share/ when installing from 'make install' . This place is used by the deb installation (which is the standard) . However there is clearly a problem as you mentioned it. I guess it's due to a mis-usage of gettext in NS

[Nssbackup-team] [Bug 284013] Re: i18n does not work due to wrong place of *.mo files (on Ubuntu)

2008-10-15 Thread Peer Lorenz
** Attachment added: "Fixes the path to 'locale' files in Makefile" http://launchpadlibrarian.net/18581778/Makefile.i18n.fix.diff -- i18n does not work due to wrong place of *.mo files (on Ubuntu) https://bugs.launchpad.net/bugs/284013 You received this bug notification because you are a memb