Bug 504688 - In German translation mode, "," is replaced with ";"
Summary: In German translation mode, "," is replaced with ";"
Status: RESOLVED FIXED
Alias: None
Product: kturtle
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Cies Breijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-23 06:31 UTC by Marco
Modified: 2025-06-29 10:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2025-05-23 06:31:51 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
When i switch to German, there are problems with the syntax.
Somehow the "," is replaced with a ";" as a requirement means

goto 100,100
translated to
gehe 100;00


and

$value = 10 * 0.6
translated to
$value = 10 * 0;6 

Which is confusing for my 4th graders. Maybe you can check that out?

STEPS TO REPRODUCE
1. See on top
2. 
3. 

OBSERVED RESULT
$value = 10 * 0.6
No working in German mode
$value = 10 * 0;6 works

gehe 100,100
Not working in German mode
gehe 100;100 works

EXPECTED RESULT
Should work as in normal mode

SOFTWARE/OS VERSIONS
Windows: WIndows 11
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
kturtle nightly Version 25.07.70
On the Linux versions (ubuntu) i can observe the same (thats what i use in my class)


Thanks alot!
Comment 1 Alois Spitzbart 2025-06-20 10:59:33 UTC
I looked up in the translator documentation for kturtle. I just found it in the wayback machine under https://web.archive.org/web/20080218020607/https://edu.kde.org/kturtle/translator.php and there it is stated, that this separator has to be different to the decimal separator. 
>Be carefull with the ArgumentSeparator (a comma in en_US), and the DecimalSeparator 
>(a dot in en_US). In your language the comma might be used as DecimalSeparator, in that 
>case you can use a semicolon ';' as ArgumentSeparator -- but you don't have to! If you 
>think it is acceptable to use the dot as DecimalSeparator please do so: in programming l
>anguages the dot is usually used as DecimalSeparator it might be good to learn this right 
>from the start. 
The string was changed with https://websvn.kde.org/branches/stable/l10n-kf6/de/messages/kturtle/kturtle.po?r1=1556029&r2=1559702
So it looks like it is ok? Do you have some documentation for this, how it should be?
Comment 2 Alois Spitzbart 2025-06-20 11:49:44 UTC
I checked other languages and opened this review: https://phabricator.kde.org/D30382
Comment 3 Alois Spitzbart 2025-06-29 10:41:48 UTC
Changes added with Eingespielt mit https://websvn.kde.org/?revision=1712262&view=revision