On 2003-09-04(Thu) 17:44:40 +0200, Pablo Saratxaga wrote: > Kaixo! > > On Thu, Sep 04, 2003 at 08:28:48PM +0800, Abel Cheung wrote: > > On 2003-09-04(Thu) 14:10:46 +0200, Guillaume Rousse wrote: > > > Several web applications, including all horde suite and mailman, include > > > localisation files under their own directory in /var/www/html. Is there a way > > > to use %find_lang macro so as to look for files elsewhere as under > > > /usr/share/locale ? > > In fact (I just looked at /usr/lib/rpm/find-lang.sh script ) > it doesn't search in /usr/share/locale but in anything with "/share/locale/" > in the path.
Fair enough, since one may compile software with different prefix. Not under mandrake, but talking about all rpm users in general. > Maybe it could be changed to "/locale/" ? > (are there some programs using *.mo files in places wich don't have "locale" > as a directory name ?) > Or maybe, look for "LC_MESSAGES" directory instead ? [EMAIL PROTECTED] root]# find / -xdev -name '*.mo' -not -regex '.*locale.*' /usr/lib/python2.3/site-packages/_xmlplus/dom/de/LC_MESSAGES/4Suite.mo /usr/lib/python2.3/site-packages/_xmlplus/dom/en_US/LC_MESSAGES/4Suite.mo /usr/lib/python2.3/site-packages/_xmlplus/dom/fr_FR/LC_MESSAGES/4Suite.mo Looks like it is very rare, but not entirely impossible. Abel > > > > -- > Ki ça vos våye bén, > Pablo Saratxaga > > http://chanae.walon.org/pablo/ PGP Key available, key ID: 0xD9B85466 > [you can write me in Walloon, Spanish, French, English, Italian or Portuguese] -- Abel Cheung Linux counter #256983 | http://counter.li.org GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
pgp00000.pgp
Description: PGP signature
