Summary: | KMyMoney 4.6.6 priotizes LC_MESSAGES over other LC_* variables dropping user locales for currency and dates | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Oliver Maurhart <dyle71> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Oliver Maurhart
2015-05-05 06:11:41 UTC
KMyMoney in general follows KDE global settings for date and currency formats. Please check your KDE system settings and report back. You can access them from within KMyMoney using the "Settings/KDE language settings..." menu. Currently, this sounds more like a possible upstream problem to me, but I might be mistaken. (In reply to Thomas Baumgart from comment #1) > KMyMoney in general follows KDE global settings for date and currency > formats. Please check your KDE system settings and report back. You can > access them from within KMyMoney using the "Settings/KDE language > settings..." menu. I checked. KDE System Settings are ok. Also from within KMyMonex "Settings/KDE language settings" all looks right. There I set up for money to look like this: "12.345,67" . But with LC_MESSAGES=POSIX still KMyMoney renders these as "12.345.67" - not the two points '.'. How can I check if this is upstream by KDE? Is there any other common app which renders currencies in KDE? This is Kubuntu 15.04 and I installed Plasma 5.3 - KMyMoney says: "Version 4.6.6 Using KDE Development Platform 4.14.7" I was unable to duplicate your problem using KMyMoney 4.7.2 or KMyMoney master. (I was unable to quickly build 4.6.6 in my environment and did not have the time to analyze/fix that.) So I suggest that you upgrade to the latest stable version 4.7.2 and see if the problem persists in your environment. Here's the output of locale for my 'test'-environment: .thb@thb-nb:~/devel/kmymoney/build (master)$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES=POSIX LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I fixed it. It has been a wrong "LANGUAGE=en_US:de" setting. I assume it has to do something with multiple languages in KDE settings, but as soon I removed German I got "LANGUAGE=en_US" which does not confuse anyone. So, not a bug. At least not on KMyMoney's side. |