Bug 167915

Summary: Lokalize doesn't use locale settings for displaying numbers
Product: [Applications] lokalize Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 0.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Karl Ove Hufthammer 2008-07-31 23:22:34 UTC
Version:           0.2 (using 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24.5-desktop-2mnb

The four numbers displayed in the status bar, for 'Current:', 'Total:', 'Fuzzy:' and 'Untranslated:' aren't displayed using the KDE locale settings (especially bad for a localisation program! :) ).

In my locale settings, the thousand separator is set to a space (the default for Norway), but Lokalize displays the numbers the American way, with a comma as separator.

For example, for 'kdepim/kmail.po', the 'Total' field is displayed 'Total: 2,389'. For my settings, it should be '2 389'.
Comment 1 Nick Shaforostoff 2008-08-02 13:18:13 UTC
It can't be Lokalize's fault: I have '2 389' for Russian, and besides I use standard i18nc() call for conversion:
http://api.kde.org/4.x-api/kdesdk-apidocs/lokalize/html/kaider_8cpp-source.html#l00699
Comment 2 Karl Ove Hufthammer 2008-08-02 18:56:38 UTC
I’ll keep this bug closed, but for anyone interested, I’ve opened bug #168134 for this issue.