LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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: 43

Rep: Reputation: 18
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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: 43

Original Poster
Rep: Reputation: 18
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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: 43

Original Poster
Rep: Reputation: 18
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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: 43

Original Poster
Rep: Reputation: 18
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 09:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration