-   Slackware (
-   -   KDE 4.8.5 in french, but Amarok in english (

kikinovak 04-11-2013 11:11 AM

KDE 4.8.5 in french, but Amarok in english

I'm running Slackware 14.0 with KDE 4.8.5 on a machine here. KDE appears in French OK, thanks to the kde-l10n-fr package. But Amarok displays its interface in english.

What am I missing?

kikinovak 04-11-2013 11:34 AM

Upon further investigation, it looks like the Slackware 14.0 version of Amarok supports 36 languages, among which gaelic, hungarian, basque, finnish, punjabi and bosnian... but not French.

WTF ?!?

Didier Spaier 04-11-2013 11:49 AM

I just had a look at the source tarball for amarok-2.6.0. There is no fr subdirectory in the po directory, that's why...

But there is one in the source tarball for 2.7.0. So just grab it and rebuild the package.

If that doesn't work you will have to copy the /po/fr directory from the 2.7.0 source tree to the 2.6.0 source tree instead, then rebuild the package.

kikinovak 04-13-2013 12:23 AM

Thanks very much, Didier. As soon as I find the time, I'll write a SlackBuild script for Amarok 2.7, I guess.

Didier Spaier 04-13-2013 02:02 AM

Seen this in KDE.SlackBuild:

# Allow for specification of individual packages to be built:
if [ -z "$1" ]; then

So I'd just try:

./KDE.SlackBuild amarok
EDIT That's not the good way. I tried to tun "KDE.SlackBuilkd extragear" instead, leaving only amarok in file modules/extragear but it complains about missing /usr/lib/libmysqld.a. Sorry I won't investigate further, I don't use amarok anyway...

PS Silly me.. You just have to make a MO file with msgfmt and put it in its place... Wait a few minutes, I'll you indicate you the commands to use.

Didier Spaier 04-13-2013 02:49 PM

Silly me...

tar xf amarok.2.7.0.tar.xz
msgfmt -o /usr/share/locale/fr/LC_MESSAGES/ amarok-2.7.0/po/fr/amarok.po

I always need a lot of time to find a simple way to do something...

You can do something similar with other PO files in the same directory (the formatted file should end in .mo).

kikinovak 04-16-2013 03:42 PM

Thumbs up for your elegant solution, Didier !

All times are GMT -5. The time now is 10:41 AM.