locales

Paul Howarth paul at city-fan.org
Mon Jun 19 07:35:33 UTC 2006


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.

Paul.




More information about the fedora-extras-list mailing list