Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#32572 - /etc/locale.conf variables doesn't show up in locale

Attached to Project: Arch Linux
Opened by Lóránt Farkas (farkaslory) - Friday, 09 November 2012, 21:33 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 09 November 2012, 22:57 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I'm a user from Hungary, but I don't like the Hungarian errors, feedback etc/etc, so I usually use my Arch-box in English. However I had some directories with Hungarian names and Hungarian characters in it (like "árvíztűrő tükörfúrógép"). I didn't update for a while (about a half-year) after the update all localized characters in the konsole or in Dolphin changed to "?". I have read carefully the wiki about locale, and created /etc/locale.conf with the content:

LANG="en_US.utf8"
export LANGUAGE="en_US.utf8:hu_HU.utf8"
LC_COLLATE="C"

(my locale -a says:
C
POSIX
de_DE
de_DE.iso88591
de_DE.utf8
deutsch
en_US
en_US.iso88591
en_US.utf8
german
hu_HU
hu_HU.iso88592
hu_HU.utf8
hungarian)

but if I log in (to KDE or to console tty[1-4]) an call "locale" I get:

LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

If I run the command

export LANG=en_US.utf8

or

export LANG=en_US.utf8

in kosole panel of Dolphin
then Dolphin shows the Hungarian accented characters correct, but the konsole or the tty[1-4] console does not show the Hungarian characters normally

So my question is which program should export the LANG and LC_COLLATE variables? Maybe systemd should(Yes-I use systemd)? Then which target file?

Yours sincerely
Lóránt Farkas
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Friday, 09 November 2012, 22:57 GMT
Reason for closing:  Not a bug
Comment by Greg (dolby) - Friday, 09 November 2012, 22:19 GMT
First of all this isnt the place to ask questions. Arch has a forum and mailing lists for that.
Second locale.conf isnt the place to export stuff.
See locale(1) locale(7) and locale.conf(5)

Loading...