[Namazu-users-ja 725] Re: FreeBSD上のgettextについて
Tadamasa Teranishi
yw3t-trns @ asahi-net.or.jp
2006年 4月 17日 (月) 17:32:15 JST
寺西です。
LI Peiqiang wrote:
>
> namazu 2.0.16, a search program of Namazu.
>
> Usage: namazu [options] <query> [index]...
> -n, --max=NUM set the number of documents shown to NUM.
> -w, --whence=NUM set the first number of documents shown to NUM.
> -l, --list print the results by listing the format.
> -s, --short print the results in a short format.
...
> Index: /home/my/www/namazu/var/namazu/index
> Logging: on
> Lang: ja_JP.eucJP
きちんと Lang が ja_JP.eucJP になっていますね。
> 6. Namazu(1) (スコア: 23)
> 著者: 不明
> 日付: Tue, 29 Feb 2000 13:25:37 +0900
> Namazu(1) Namazu(1) N NA AM ME E Namazu D DE ES SC CR RI IP PT TI IO ON N
> Namazu A AU UT TH HO OR R test @ namazu.org Namazu(1)
> /home/my/src/namazu-2.0.16/pltests/../tests/data/ja/man.1 (180 bytes)
gettext 以外のところはきちんと日本語になっていますね。
では、次に次のコマンドを入力してどのような結果が得られるかお知らせ
ください。
$ strings `which namazu` | grep locale
$ ldd `which namazu`
$ ls -alF /home/my/share/locale/ja/LC_MESSAGES/namazu.mo
--
=====================================================================
寺西 忠勝(TADAMASA TERANISHI) yw3t-trns @ asahi-net.or.jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E
Namazu-users-ja メーリングリストの案内