[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to change encoding of localized man pages



Hi.

I am trying update the translation of Japanese man pages.
I want to encoding of files like following:

input (man/po4a/dpkg.1/po/ja.po, etc): UTF-8
output (debian/dpkg/usr/share/man/ja/man1/dpkg.1.gz, etc): EUC-JP

I added following line into man/ja/Makefile.am.

  po4a_translate_options=-L EUC-JP -A EUC-JP

But, it's not work.  The output is UTF-8 encoding.

I changed the last line of man/po4a/dpkg.1/dpkg.1.cfg, then work file.
(I added opt_ja)

   [type:man] $(srcdir)/../C/dpkg.1 $lang:../$lang/dpkg.1 add_$lang:$(srcdir)/add_$lang/dpkg.1.$lang.add opt_ru:"-L koi8-r -A koi8-r" opt_ja:"-L euc-jp -A euc-jp"

Please tell me how to change encoding Japanese man pages.

1. modify man/ja/Makefile.am only
2. modify all man/po4a/*/*.cfg
3. 1 and 2
4. others

Regards,
Kise



Reply to: