Re: locales

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux