On Mon, Jul 1, 2013 at 1:36 PM, Antonio <anto.trande@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