ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Artyom <artyoml@narod.ru>
To: community@altlinux.ru
Subject: [Comm] Re: English in X System/KDE with right Russian file names - SOLUTION
Date: Thu, 31 Jul 2003 17:10:08 +0700
Message-ID: <200307311709.08285.artyoml@narod.ru> (raw)

English in X System/KDE with right Russian file names - SOLUTION

> Есть ли способ настроить локаль (и всё, что с ней связано),
> чтобы в Иксах (и в KDE) все меню отображались по-английски и
> при этом названия файлов на русском языке бы нормально
> виделись, а содержание русскоязычных файлов нормально
> просматривалось?

Ребята,
я кажется (проверьте у себя тоже) нашёл решение проблемы латинизации X 
System/KDE в ALT Linux Junior 2.2 с правильным отображением русских имён 
файлов и их русскоязычного содержания.

Скрытый файл ~/.i18n должен выглядеть так:

LANG=en_US:ru_RU.KOI8-R
SYSFONTACM=KOI8-R
SYSFONT=UniCyr_8x16
LC_MESSAGES=C
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_PAPER=ru_RU.KOI8-R
LC_NAME=ru_RU.KOI8-R
LC_ADDRESS=ru_RU.KOI8-R
LC_TELEPHONE=ru_RU.KOI8-R
LC_MEASUREMENT=ru_RU.KOI8-R
LC_IDENTIFICATION=ru_RU.KOI8-R

Решающей оказалась первая строчка файла; если там указывать LANG=C, то 
отображение кириллицы рушилось. Как оказалось, через двоеточие можно 
указывать альтернативную кодировку, которая работает на "русских" файлах.

Спасибо всем, кто откликнулся на моё письмо (особенно содержателен был Michael 
Shigorin <mike@osdn.org.ua>) и команде Linux Mandrake, где подобная 
латинизация Иксов проходила без проблем и из чьего файла i18n я и черпал 
вдохновение :))

Артём Литвинов
artyoml@narod.ru




             reply	other threads:[~2003-07-31 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 10:10 Artyom [this message]
2003-08-02 17:38 ` Ivan Adzhubey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307311709.08285.artyoml@narod.ru \
    --to=artyoml@narod.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git