Bug 167915 - Lokalize doesn't use locale settings for displaying numbers
Summary: Lokalize doesn't use locale settings for displaying numbers
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 0.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 23:22 UTC by Karl Ove Hufthammer
Modified: 2008-08-02 18:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.