locales

Wart wart at kobold.org
Mon Jun 19 15:07:52 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Howarth wrote:
> On Sun, 2006-06-18 at 15:49 -0700, Wart wrote:
> 
>>Paul wrote:
>>
>>>Hi,
>>>
>>>
>>>
>>>>A package that I'm reviewing[1] keeps its language translation files in
>>>>%{_datadir}/%{name} instead of %{_datadir}/locale.  Are there any rules
>>>>about using %find_lang when an application doesn't use
>>>>%{_datadir}/locale for the translation files?
>>>
>>>
>>>I thought languages had to be in the locale directory for them to be
>>>picked up automatically.
>>
>>I interpret this to mean that an application is free to store language
>>translation files in its own data directory, and in such a case the spec
>>file must include the language files in %files, and use of %find_lang is
>>not needed.
> 
> 
> If the language files are listed in %files, be sure to use the %lang tag
> to identify the language of each file; this would happen automatically
> with %find_lang.

I've never seen %lang() used before.  I assume that this lets users
select which language files they want installed for the application, no?
 If so, how does %lang() interface with the rpm command line?

- --Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFElr3GDeYlPfs40g8RAlxuAJ9r5CDqWpGk3O/heVYMHlCGt3r0cwCcCOdd
qeKU3nOkA9D6ZGsp5RLQlVU=
=jMyr
-----END PGP SIGNATURE-----




More information about the fedora-extras-list mailing list