Bug 177910

Summary: KTurtle doesn’t default to user’s language
Product: [Applications] kturtle Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: Cies Breijs <cies>
Status: RESOLVED FIXED    
Severity: normal CC: hayk-beglaryan, lueck, nikdavnik
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karl Ove Hufthammer 2008-12-16 17:13:02 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When I start KTurtle for the first, it defaults to English for the KTurtle commands, even though the user has a different language set as the user’s language.

This is very confusing and non user-friendly.

(Note that the UI of KTurtle *is* correctly translated into the user’s chosen language, so this is not a translation bug. I am the Norwegian Nynorsk translator of KTurtle.)

I observe this bug with latest trunk version of KTurtle.
Comment 1 Cies Breijs 2008-12-18 09:08:22 UTC
thanks for the report.. what version of kde are you using? also trunk?

this issue, or a similar issue, is around for a while.. i would like to tackle it but it seems that it might be related to the translation system of kde.

could you run kturtle 'for the first time' (= without config file in ~/.kde), from the konsole and change the language and post a listing of what kturtle throws to the stdout (i mean the output on the konsole)?

thanks for reporting..

_cies.
Comment 2 Karl Ove Hufthammer 2008-12-18 14:00:57 UTC
The output is:

kturtle(20233) MainWindow::setCurrentLanguage: MainWindow::setCurrentLanguage:  "nn"
Comment 3 Karl Ove Hufthammer 2008-12-18 14:02:32 UTC
And yes, I’m using trunk.
Comment 4 Burkhard Lück 2009-11-11 11:01:33 UTC
trunk (2009/10/29) compiled from sources with language x-test selected in systemsettings and without file .kde/share/config/kturtlerc:

konsole output on first start:
kturtle(23470) MainWindow::setCurrentLanguage: MainWindow::setCurrentLanguage:  "en_US"

when I switch then to script language x-test in KTurtle then I see:
kturtle(23470) MainWindow::setCurrentLanguage: MainWindow::setCurrentLanguage:  "x-test"

The same happens with branch 4.3 build today and compiled from sources with language de selected in systemsettings and without file .kde/share/config/kturtlerc:
konsole output on first start:
kturtle(24170) MainWindow::setCurrentLanguage: MainWindow::setCurrentLanguage:  "en_US"
when I switch then to script de in KTurtle then I see:
kturtle(23470) MainWindow::setCurrentLanguage: MainWindow::setCurrentLanguage:  "de"
Comment 5 Justin Zobel 2021-03-10 00:32:21 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 6 Karl Ove Hufthammer 2021-03-10 20:11:15 UTC
This bug seems to be fixed.