You are not logged in.

M.A.D.

Beginner

  • "M.A.D." started this thread

Posts: 2

Location: Russia

Occupation: Web-developer

  • Send private message

1

Saturday, November 11th 2006, 11:12am

Russian locale in KDE [ SOLVED ]

I have a KDE 3.4.2 under Slackware 10.2. I've installed i18n-ru for KDE and russian TTF fonts (got from Windows) to Xorg. Now I have fine russian interface, except of:
-Some programs show me headers like "??????? ???? ?????". For example, KDE control center does.
-I can't create neither files nor folders with russian names. Kde replaces cyrillic symbols with "?".
-I can't view russian-named files on mounted NTFS partitions. However, I can, but something wrong with encoding again.

Once I had same problem on FreeBSD, I solved it by using GDM instead of KDM. So, I can suppose that KDM does not tell a locale to KDE, unlike GDM.

I tried to set russian locale in kdmrc, but this only sets a KDM interface language.
I tried to set russian language in Control center->System administration->Login manager with same effect.

Please help me, what should I do?

P.S.: Sorry if my English is bad, I'm Russian :)
Are you gangsters? - No, we are Russians.

This post has been edited 1 times, last edit by "M.A.D." (Nov 11th 2006, 12:04pm)


M.A.D.

Beginner

  • "M.A.D." started this thread

Posts: 2

Location: Russia

Occupation: Web-developer

  • Send private message

2

Saturday, November 11th 2006, 12:04pm

[ Solved ]

Ha-haa! I am God! ;) My problem solved! I just edited 3 files:

/etc/profile.d/lang.sh (here I set system locale to koi8-r)
/etc/rc.d/rc.font.new (here i set console font to koi8-r-8x16. It's not necessary for KDE, but without this console will not display russian letters)
/usr/share/locale/locale.alias (here i replaced alias "russian ru_RU.ISO8859-5" with "russian ru_RU.KOI8-R")

P.S.: My mind born a question: which of russian locales (cp1251, koi8r, iso8859-5, utf8) is the best for use? What are differences? What are advantages/drawbacks? Who can explain me that?

P.P.S.: Tell me please about my mistakes in posts (if any), to improve my English =)
Are you gangsters? - No, we are Russians.

This post has been edited 1 times, last edit by "M.A.D." (Nov 11th 2006, 12:06pm)