https://bugs.kde.org/show_bug.cgi?id=340982

Hannes Schweizer <nilat...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nilat...@gmx.net

--- Comment #92 from Hannes Schweizer <nilat...@gmx.net> ---
After playing around with patching qtcore and with Gentoo's locale settings,
I'd like to share my current solution for achieving something like en_AT on a
sinlge-user machine (kinda like a German regionalization).

/etc/locale.gen (run locale-gen afterwards):
de_AT.UTF-8 UTF-8
en_US.UTF-8 UTF-8

/etc/env.d/02locale
LANG="en_US.utf8"
LC_COLLATE="de_AT.utf8"
LC_CTYPE="de_AT.utf8"
LC_MEASUREMENT="de_AT.utf8"
LC_MONETARY="de_AT.utf8"
LC_NUMERIC="de_AT.utf8"
LC_PAPER="de_AT.utf8"
LC_TIME="de_AT.utf8"

It's important to omit LC_ALL, which should lead to an empty definition in the
output of "locale".
I left the "Region" box in "Regional Settings"->"Formats" at "No change".
This fixes basically all date/time/currency issues I've encountered.

Of course this will display day & month strings in the regionalization language
("de" in my case).
If you're not OK with such a system-wide change, I recommend to patch the
locale_data_p.h file. For me however it was not as simple as mapping the
"German/Latin/Austria" onto the "English/Latin/UnitedStates" numbers. Keeping
the "lang" column at English "31" generated some strange effects like date
strings containing "M06" instead of "June".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to