Message1973
Roundup searches for the system default locale in the
directory _default_localedir of the gettext module.
This variable obviously points to the standard path
depending on where python is installed:
- A python installed in /usr/local will have
'/usr/local/share/locale'
- A python installed in /usr will have '/usr/share/locale'
Therefore roundup installed with --prefix=/usr/local
(as option to setup.py) on a system with a
pre-installed python in /usr/bin will fail to find the
.mo, because it is installed to /usr/local/share/locale.
I'm experiencing this with a Debian sarge with
python2.3 in /usr/bin and a self-installed roundup
0.8.3 in /usr/local. A woody system with a custom
python2.3 in /usr/local and *the same* /usr/local/bin
runs fine.
There probably should be a mechanism to define a search
path for locales. My current work-around is a symbolic
link from the locale subdirectory of the tracker home
to the .mo file in /usr/local/share. |
|
Date |
User |
Action |
Args |
2009-02-03 14:21:22 | admin | link | issue1219689 messages |
2009-02-03 14:21:22 | admin | create | |
|