Decimal symbol incorrect. Locale es_ES

Asked by Juan Simón

Binary package hint: kmymoney2

$ env | egrep LC\|LANG
LANG=es_ES.UTF-8
GDM_LANG=es_ES.UTF-8

kMyMoney uses point as decimal symbol instead of comma for es_ES.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: kmymoney2 0.9.2-1
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: kmymoney2
Uname: Linux 2.6.30.5-candela i686

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kmymoney2 Edit question
Assignee:
No assignee Edit question
Solved by:
Juan Simón
Solved:
Last query:
Last reply:

This question was originally filed as bug #433266.

Revision history for this message
Juan Simón (simonbcn) said :
#1
Revision history for this message
Hei Ku (asoliverez) said :
#2

KMyMoney uses the KDE settings. Change the decimal settings for KDE and it
should be ok.

Revision history for this message
Juan Simón (simonbcn) said :
#3

I use Gnome. How can I change this setting from Gnome?

Anyway, does "LANG=es_ES.UTF-8" has no effect on KDE? If I change this value, the character encoding changes in kMyMoney, but the decimal symbol is always the same.

Revision history for this message
Hei Ku (asoliverez) said :
#4

That will only change the translations used, but most settings are taken
from KDE Global settings.

Try running "kcmshell language" in a terminal. I use KDE, so I cannot point
you to the right place to do that. However, until you change that, the
decimal symbol will remain the same.

Revision history for this message
Juan Simón (simonbcn) said :
#5

Thanks, but "kcmshell language" does nothing.

Are you sure that "LANG" only change the translations used? Then why kMyMoney changes the encoding if I change that value? If I set "LANG=es_ES", it uses ISO-88599-1, but if I set "LANG=es_ES.UTF-8", it uses UTF8.
Why it changes the encoding but no the numeric decimal symbol?

Revision history for this message
Hei Ku (asoliverez) said :
#6

I am sure. The decimal settings are taken from the KDE settings.
Believe me, I'm a developer of KMyMoney, not part of the Bugsquad.

Revision history for this message
Juan Simón (simonbcn) said :
#7

Oh!! Ok, then... If you are a developer of kMyMoney there's no discussion!! ;-)
Well, I will change this "false bug" in a question to know how I can change it from Gnome.
Thanks

Revision history for this message
Hei Ku (asoliverez) said :
#8

You can try by installing the systemsettings package. That's the settings
manager for KDE4.

And review the questions in this site. There are others very similar. I
would point you to one, but I cannot access it via web at the moment
(connectivity problems)

Revision history for this message
Juan Simón (simonbcn) said :
#9

Ok, it's solved.
But I had to install kde-core and kdebase.

Revision history for this message
Juan Simón (simonbcn) said :
#10

Thank you for your help and your program!! ;-)