From: Alexey Tourbin <at@altlinux.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: [sisyphus] Re: perl-libintl, libintl3 Date: Mon, 27 Dec 2004 17:18:51 +0300 Message-ID: <20041227141851.GG3373@solemn.turbinal.org> (raw) In-Reply-To: <20041226183103.GD24409@basalt.office.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1453 bytes --] On Sun, Dec 26, 2004 at 09:31:03PM +0300, Dmitry V. Levin wrote: > > И ещё вопрос: в каких случаях нужно использовать libintl, а в каких -- > > хватит функциональности /usr/include/libintl.h из glibc? > > Во всех случаях следует использовать glibc, libintl3 нужен только для > gettext*. Ясно. Ещё вопрос: оно не не работает. Выглядит это так: $ pwd /home/at/RPM/BUILD/libintl-perl-1.11 $ find tests/LocaleData tests/LocaleData tests/LocaleData/de tests/LocaleData/de/LC_MESSAGES tests/LocaleData/de/LC_MESSAGES/existing.mo tests/LocaleData/de/LC_MESSAGES/additional.mo tests/LocaleData/de_AT tests/LocaleData/de_AT/LC_MESSAGES tests/LocaleData/de_AT/LC_MESSAGES/existing.mo tests/LocaleData/de_AT/LC_MESSAGES/additional.mo $ env -i LC_ALL=de_AT TEXTDOMAIN=existing TEXTDOMAINDIR=tests/LocaleData gettext January; echo Jдnner $ В данном случае Jдnner -- правильный ответ. А теперь de_AT перемешивается с de: $ env -i LC_ALL=de:de_AT TEXTDOMAIN=existing TEXTDOMAINDIR=tests/LocaleData gettext January; echo January $ env -i LC_ALL=de_AT:de TEXTDOMAIN=existing TEXTDOMAINDIR=tests/LocaleData gettext January; echo January $ В любом случае получается January, хотелось бы как минимум в одном из случаев получить Jдnner (это ожидает получить ./tests/03language_xs.t). И ещё вопрос: что нужно прочитать про локализацию, что понять, как она устроена -- технически исчерпывающе, но без грузилова? > -- > ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-12-27 14:18 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-24 14:08 [sisyphus] transcode-0.6.14 Yuri N. Sedunov 2004-12-24 14:58 ` [JT]Re: " Dmitry Lebkov 2004-12-25 8:46 ` [sisyphus] transcode-0.6.14 Alexey Tourbin 2004-12-25 10:38 ` Yuri N. Sedunov 2004-12-25 18:46 ` Alexey Tourbin 2004-12-26 15:38 ` Alexandre Prokoudine 2004-12-26 16:16 ` [sisyphus] perl-libintl, libintl3 Alexey Tourbin 2004-12-26 18:31 ` Dmitry V. Levin 2004-12-27 14:18 ` Alexey Tourbin [this message] 2004-12-27 14:40 ` [sisyphus] " Sergey Vlasov 2004-12-27 15:31 ` Alexey Tourbin 2004-12-27 15:43 ` Sergey Vlasov 2005-01-04 16:24 ` Dmitry V. Levin
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=20041227141851.GG3373@solemn.turbinal.org \ --to=at@altlinux.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git