LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2013, 03:18 PM   #1
etienne
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: Slackware
Posts: 59

Rep: Reputation: 30
kde extragear (k3b) translation files missing


When I run k3b in Slackware 14 with a french locale, the application appears in English and I cannot change the language to french.

After some research, it seems that the translation files (*.mo) for k3b are not present in the package kde-l10n-fr-4.8.5-noarch-1 (and probably for other languages too).

To resolve this problem, I downloaded the po files from the SVN server of the KDE project (under the directory extragear-multimedia). I generated the mo files from these po files with the msgfmt command and installed them in the directory /usr/share/locale/fr/LC_MESSAGES.

This solution is a quick hack. I think these mo files should be included in the various kde-l10n packages (and possibly other mo files from the extragear-* directories).
 
Old 05-07-2013, 01:50 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
The po/mo files for French were not included by upstream KDEI packagers in 4.8.5, that's why they are not included in the Slackware package for the same KDEI version.
 
Old 05-08-2013, 12:39 AM   #3
etienne
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 30
OK. I thought that the source package was build by the slackware team from the KDE svn/git server.

Sadly that gives a sense of "unfinished" product...
 
Old 05-08-2013, 02:15 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by etienne View Post
OK. I thought that the source package was build by the slackware team from the KDE svn/git server.
No. Slackware tries as much as possible to build its packages from officially released source tarballs and avoid modifying it unless actually needed, mainly for security concerns. Stability and security come at a price.

But don't worry, IIRC the KDE version shipped in Slackware-current includes localization in French.

Last edited by Didier Spaier; 05-08-2013 at 02:16 AM.
 
Old 05-08-2013, 07:05 AM   #5
etienne
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Didier Spaier View Post
But don't worry, IIRC the KDE version shipped in Slackware-current includes localization in French.
Hmmm ! It doesn't seem to be the case in the latest update for KDE 4.10.3...

Quote:
Originally Posted by Didier Spaier View Post
Slackware tries as much as possible to build its packages from officially released source tarballs
The KDE team doesn't provides the translation files for k3b in the official package because k3b is not a "core" application of the desktop (see http://www.kde.org/info/4.10.3.php).

But slackware provide a package for k3b build by the same script for all the KDE packages.
So, shouldn't we also provide the translation files for it (and possibly other "extra" applications) ?

There is a trick in the slackbuild for KDEI in order to include some translations for a previous version of KDE PIM (if I understand well).
Something similar could be done for those "extra" packages...
 
Old 05-08-2013, 09:04 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
I was plain wrong.

Of course there is no po file for k3b, neither in kde-l10n-fr-4.10.2 nor in /k3b-2.0.2_20120226.git shipped in Slackware-current.

In fact my memory didn't serve me well that time. Your question reminded me of a similar one I answered on LQ but that I couldn't find at first. It's this one.

But Amarok is not k3b!

I investigated a bit more and with the help of http://packages.slackware.com/ saw that there *was* a k3b-i18n package in slackware, but that was not shipped after Slackware-12.2

So yes I think you're right, this looks like a packaging problem on Slackware's side, as upstream source do include a po/ directory

Maybe there is a reason for omitting it, but in any case I'll drop a line about that to Pat, just in case he doesn't read this thread.

Oh and you didn't need to pull the sources from git, there is a tarball (but may be you did that because the source tarball for k3b in Slackware is pulled from git as well.)

BTW, I wrote that Slackware usually package released versions and actually that's not the case for k3b. Well, as the saying goes: exceptio probat regulam

Last edited by Didier Spaier; 05-08-2013 at 09:36 AM.
 
Old 05-08-2013, 02:58 PM   #7
etienne
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: Slackware
Posts: 59

Original Poster
Rep: Reputation: 30
I saw the thread concerning Amarok and like you say it's different because the source tarball for Amarok includes the translation files (but not the french translations for the 2.6.0 version).

Thanks for dropping a line to Pat. I mark this thread as solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with KDE translation !!?? samir5 Linux - Newbie 0 05-07-2008 06:51 AM
LXer: KDE 4.0.3 Released With Extragear Applications LXer Syndicated Linux News 0 04-03-2008 08:41 AM
missing needed files for k3b joel b Linux - Newbie 2 12-09-2004 03:56 PM
Kde wont start missing files. Nz_Boy_2004 Linux - Software 2 10-10-2004 09:54 PM
Missing kde dev files, where? fisher99 Slackware 2 05-07-2004 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration