find-lang.sh search path

Richard Shaw hobbes1069 at gmail.com
Mon Jul 1 18:51:48 UTC 2013


On Mon, Jul 1, 2013 at 1:36 PM, Antonio <anto.trande at gmail.com> wrote:

> In qgifer package building (Bug#979702), I need to include language
> *.qm files from source software.
>
> Currently, 'cmake' command puts language files into /usr/share/locale
> directory but find-lang.sh doesn't locate them in $RPM_BUILD_ROOT. Why ?
> - -- Installing:
>
> /home/sagitter/rpmbuild/BUILDROOT/qgifer-0.2.1-1.fc19.x86_64/usr/share/locale/pl.qm
> - -- Installing:
>
> /home/sagitter/rpmbuild/BUILDROOT/qgifer-0.2.1-1.fc19.x86_64/usr/share/locale/ru.qm
>

It doesn't look right to me, but I'm not a translation expert by any means.

The translations don't go directly in the locale dir but under named
directories for each language, try looking under /usr/share/locale on your
system.

In either case, it doesn't look like qm (QT translations) go in
/usr/share/locale, but rather in a per application location, i.e.:

/usr/share/qgifer/locale/pl.qm

Or something like that.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130701/2d057072/attachment.html>


More information about the devel mailing list