i18n does not work due to wrong place of *.mo files (on Ubuntu)
Bug #284013 reported by
Jean-Peer Lorenz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nssbackup |
Fix Released
|
Medium
|
Oumar Aziz OUATTARA |
Bug Description
i18n does not work due to wrong place of *.mo files (on Ubuntu):
* System: Ubuntu 8.04
* locale language: german (de_DE)
* nssbackup version: nssbackup-
No items in UI were translated.
In nssbackup neither any UI text element gets translated to german nor any error messages occurs.
Installation of nssbackup using 'make install' places the i18n-files in '/usr/local/
Obviously this is not the correct place for storing localizations.
Moving the corresponding file 'nssbackup.mo' into the commonly used directory '/usr/share/locale' fixed the problem.
See the attached patch.
Changed in nssbackup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 NSsbackup. I'll look into it.