Bug 12982 - Localization missing in kde-native dialogs used in Qt-based applications
Summary: Localization missing in kde-native dialogs used in Qt-based applications
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard: MGA3TOO
Keywords: Triaged
Depends on: 13221 13826
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-10 12:53 CET by Alex Loginov
Modified: 2014-10-29 13:26 CET (History)
3 users (show)

See Also:
Source RPM: kdelibs4
CVE:
Status comment:


Attachments
kfilemodule-ru.po (27.81 KB, text/x-gettext-translation)
2014-03-10 12:54 CET, Alex Loginov
Details
makekdewidgets-ru.po (19.22 KB, text/x-gettext-translation)
2014-03-10 12:54 CET, Alex Loginov
Details
feff_dialog_no_i18n_before.png (109.14 KB, image/png)
2014-03-10 12:55 CET, Alex Loginov
Details
feff_dialog_no_i18n_after.png (110.06 KB, image/png)
2014-03-10 12:55 CET, Alex Loginov
Details
afce_dialog_no_i18n_before.png (86.37 KB, image/png)
2014-03-10 12:55 CET, Alex Loginov
Details
afce_dialog_no_i18n_after.png (87.92 KB, image/png)
2014-03-10 12:56 CET, Alex Loginov
Details

Description Alex Loginov 2014-03-10 12:53:21 CET
Description of problem:
There are no
/usr/share/locale/*/LC_MESSAGES/kfilemodule.mo
/usr/share/locale/*/LC_MESSAGES/makekdewidgets.mo
and dialogs in KDE in Qt-based applications presents without localization.

Version-Release number of selected component (if applicable): kde-l10n-4.11.4-1


How reproducible: always


Steps to Reproduce:
1. run feff, afce, etc
2. see any dialog (Open, Save as..., etc)
3. no localization (I attached pictures without kfilemodule.mo and with kfilemodule.mo)

Solution: add kfilemodule.mo and makekdewidgets.mo in package kde-l10n.

For spec:
# Extra translations missing in upstream
Source102:	kfilemodule-ru.po
Source103:	makekdewidgets-ru.po

%prep
...
# Translation updates
cp %{SOURCE102} %{name}-ru-%{version}/messages/kdelibs/kfilemodule.po
cp %{SOURCE103} %{name}-ru-%{version}/messages/kdelibs/makekdewidgets.po


Reproducible: 

Steps to Reproduce:
Comment 1 Alex Loginov 2014-03-10 12:54:04 CET
Created attachment 5036 [details]
kfilemodule-ru.po
Comment 2 Alex Loginov 2014-03-10 12:54:34 CET
Created attachment 5037 [details]
makekdewidgets-ru.po
Comment 3 Alex Loginov 2014-03-10 12:55:14 CET
Created attachment 5038 [details]
feff_dialog_no_i18n_before.png
Comment 4 Alex Loginov 2014-03-10 12:55:31 CET
Created attachment 5039 [details]
feff_dialog_no_i18n_after.png
Comment 5 Alex Loginov 2014-03-10 12:55:51 CET
Created attachment 5040 [details]
afce_dialog_no_i18n_before.png
Comment 6 Alex Loginov 2014-03-10 12:56:08 CET
Created attachment 5041 [details]
afce_dialog_no_i18n_after.png
Comment 7 Alex Loginov 2014-03-10 12:58:07 CET
Alternative solution:
install links kfilemodule.mo -> kdialog.mo in /usr/share/locale/<lang>/LC_MESSAGES/
Manuel Hiebel 2014-03-10 16:11:26 CET

Keywords: (none) => Triaged
CC: (none) => balcaen.john, lmenut
Assignee: bugsquad => mageia

Comment 8 Dimitrios Glentadakis 2014-04-09 22:39:42 CEST
Where did you find these files ? i don't see them in kde i18n project

CC: (none) => dglent

Comment 10 Dimitrios Glentadakis 2014-04-10 00:38:04 CEST
Ok i tested them and it works.
Why these translations are not in kde i18n ?
Dimitrios Glentadakis 2014-04-10 00:41:35 CEST

CC: (none) => yurchor

Comment 11 Dimitrios Glentadakis 2014-04-10 00:42:21 CEST
Yuri, do you know where are coming from these translations ?
Comment 12 Yuri Chornoivan 2014-04-10 06:56:47 CEST
(In reply to Dimitrios Glentadakis from comment #11)
> Yuri, do you know where are coming from these translations ?

kdelibs/kio4.po. Scripty extracts them to these catalogs, but the corresponding modules load them from non-existing kfilemodule and makekdewidgets catalogs.
Comment 13 Alex Loginov 2014-04-10 09:20:45 CEST
Yuri, you know about localization. Will you send po files into upsteam if ROSA did not send?
Comment 14 Yuri Chornoivan 2014-04-10 12:14:30 CEST
(In reply to Alex Loginov from comment #13)
> Yuri, you know about localization. Will you send po files into upsteam if
> ROSA did not send?

I have asked for the help in kde-i18n-doc mailing list. This cannot be fixed without tweaking of KDE extraction script, so there is no upstream to push now.
Comment 15 Yuri Chornoivan 2014-04-10 15:05:29 CEST
A patch presented by Burkhard Lück can be found here:

http://lists.kde.org/?l=kde-i18n-doc&m=139713458423155&w=2

No additional catalogs needed, just patching of kdelibs package.
Comment 16 Dimitrios Glentadakis 2014-04-10 16:36:39 CEST
Thanks very much Yuri for your reactivity and the efficiency ;)
Comment 17 Yuri Chornoivan 2014-04-11 06:28:26 CEST
Fixed upstream:

http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=09d4d52dd9312bdd17ce71cc55df3ce3860de73d

Please patch Mageia kdelibs4-core accordingly. Thanks.
Comment 18 Dimitrios Glentadakis 2014-04-12 11:02:02 CEST
My pov is that this kind of issues have to be reported and fixed in upstream. 
Is like there is a missing rose in the garden, and you (=the distro), have one at home, and you can see it only if you go inside, instead of placing it in the garden, so visitors of other houses arround can see and smell it.

* Any similarity between the "exemple" and "Rosa" is accidentaly, however it is not the first time that i realize that they improve something only for them: https://bugs.mageia.org/show_bug.cgi?id=1240
Luc Menut 2014-06-26 22:29:15 CEST

Whiteboard: (none) => MGA3TOO
Hardware: i586 => All
Depends on: (none) => 13221
Source RPM: kde-l10n => kdelibs4

Dimitrios Glentadakis 2014-06-27 06:16:33 CEST

CC: dglent => (none)

Luc Menut 2014-07-31 15:18:30 CEST

Depends on: (none) => 13826

Comment 19 Manuel Hiebel 2014-08-12 18:22:40 CEST
was pushed

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 20 Manuel Hiebel 2014-08-12 18:26:52 CEST
ah no, not completely sorry

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 21 Luc Menut 2014-10-29 13:26:48 CET
Fixed in KDE 4.12.5

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.