Bug 14745

Summary: MCC does not respect system language for Help documentation
Product: Mageia Reporter: Atilla ÖNTAŞ <tarakbumba>
Component: RPM PackagesAssignee: Matteo Pasotti <matteo.pasotti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, tarakbumba, thierry.vignaud
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA4TOO
Source RPM: mageia-doc-5.1-1.mga5 CVE:
Status comment:
Attachments: This patch adds missing languages into ctxhelp.pm

Description Atilla ÖNTAŞ 2014-12-07 20:15:55 CET
Description of problem:
Opening MCC, clicking on "Help" button; gurpmi starts to download mageia-doc-mcc-en package on Turkish locale system. Altough mageia-doc-mcc-tr package is installed, mcc still downloads mageia-doc-mcc-en package and displays english help.

Version-Release number of selected component (if applicable):
drakconf-12.52-4.mga5

How reproducible:
Turn your locale settings either using draklocale or from commandline to Turkish; may be other languages are effected as well. Then open MCC and click on Help > Help .

Steps to Reproduce:
1. Use Turkish locale on system
2. Start MCC and click on Help > Help button.
3. See that gurpmi automatically starts to download mageia-doc-mcc-en and displays always English help; altough mageia-doc-mcc-tr package is installed.


Reproducible: 

Steps to Reproduce:
Comment 1 Atilla ÖNTAŞ 2014-12-07 21:23:22 CET
Created attachment 5689 [details]
This patch adds missing languages into ctxhelp.pm

I' ve found that the problem is coming from mageia-doc-common package. /usr/lib/libDrakx/ctxhelp.pm file. Some languages like Turkish (tr) is missing from list of language codes array. I' ve created a patch which fixes this issue.

CC: (none) => tarakbumba
Assignee: thierry.vignaud => tarakbumba

Atilla ÖNTAŞ 2014-12-07 21:24:42 CET

Keywords: (none) => PATCH
Assignee: tarakbumba => matteo.pasotti
Source RPM: drakconf-12.52-4.mga5.src.rpm => mageia-doc-5.1-1.mga5

Comment 2 Thierry Vignaud 2014-12-07 21:25:09 CET
I was going to tell this :-)Well this is handled
Comment 3 Thierry Vignaud 2014-12-07 21:25:46 CET
For the record, I've seen the same issue on mga4 with French language last week

CC: (none) => thierry.vignaud

Comment 4 Atilla ÖNTAŞ 2014-12-07 21:26:57 CET
(In reply to Thierry Vignaud from comment #3)
> For the record, I've seen the same issue on mga4 with French language last
> week

Then, we should fix this issue for French on Mageia 4 too.

Whiteboard: (none) => MGA4TOO

Comment 5 Atilla ÖNTAŞ 2014-12-11 21:42:33 CET
I have commit the patch in svn and submit mageia-doc-5.1-3.mga5 to core/release repository for Cauldron.
Comment 6 Matteo Pasotti 2014-12-11 21:57:29 CET
(In reply to Atilla ÃNTAÅ from comment #4)
> (In reply to Thierry Vignaud from comment #3)
> > For the record, I've seen the same issue on mga4 with French language last
> > week
> 
> Then, we should fix this issue for French on Mageia 4 too.

I'll look at it tomorrow during the afternoon.
Thanks for your fixes.
Thierry Vignaud 2015-03-18 14:07:20 CET

CC: (none) => marja11

Comment 7 Atilla ÖNTAŞ 2015-05-20 13:54:24 CEST
I think this one has been fixed. I' m closing this bug report. Feel free if you experience same issue (probably adding new langs to ctxhelp.pm will sufficient).

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