ALT Linux architecture porting
 help / color / mirror / Atom feed
From: gosha <gosha@elins.ru>
To: devel-ports@lists.altlinux.org
Subject: [devel-ports] Пропадаю. Интернационализация i18n & boot_ramdisk вручную
Date: Mon, 12 May 2008 13:51:02 +0000
Message-ID: <200805121351.02308.gosha@elins.ru> (raw)

                                              Добрый день.

Задача: необходимо создать загрузочный ramdisk с поддержкой русификации 
(локализации) приложений/утилит.

Скопировал на ramdisk все необходимое;
Выставил export LANG=ru_RU.KOI8-R;
Скопировал /usr/share/locale/ru/* для всех использующися утилит;
Русский шрифт в консоли- ok;

Но:
 - если не копировать на ramdisk /usr/share/locale/ru/* , все утилиты 
разговаривают по английски и все ok
 - после копирования /usr/share/locale/ru/* на ramdisk, - буквы/текст собщений 
не выводится (пустой)

Можно ли правильно добавить локализацию linux утилит на вручную создаваемый 
ram-disk?

  Все русские сообщения/шрифты, использующтиеся в программах напрямую - 
визуализируются оk: printf("абвгдежз");

Индицируются пустыми строками на целевой машине после загрузки с созданного 
boot_ramdisk: printf( i18n ("абвгдежз") );

Созданный boot_ramdisk монтируется как корень.

Другие диски не монтируются.

На инструментальной машине, где создается boot_ram_disk методом копирования 
нужных файлов все вызовы ф-ий    i18n(""); работают ok.

Что я мог сделать не так?



-- 
С Уваженим,
       gosha.

             reply	other threads:[~2008-05-12 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 13:51 gosha [this message]
2008-05-12 14:34 ` Eugene Ostapets

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=200805121351.02308.gosha@elins.ru \
    --to=gosha@elins.ru \
    --cc=devel-ports@lists.altlinux.org \
    /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 architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/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 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

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


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