On Tue, Dec 19, 2000 at 10:00:30PM +0800, [EMAIL PROTECTED] wrote: > On Tue, 19 Dec 2000, ha shao wrote: > > > 我不是說perl的msg,是他自己如何去處理其它語種的. 因為apt-setup > > > 裡面的Description有de, fr, [EMAIL PROTECTED] 我把LANG=it這些都換了 > > > > 我不知道你的 apt-setup 怎麼有 de, fr, 不過我的 > > /usr/sbin/apt-setup 可是 shell script, 不是 perl. > > 到是 debconf 是 perl script. 不過看起來它找模板的 > > 方式很直接,直接去找 apt-setup.templates ,即呼叫它 > > 程序的名加 .tempplates, 在當前程序下或者 > > /usr/share/debconf/templates 下. > 哎呀,實在是對不起啊. apt-setup是bash script, 我當時打開那個文件看, > 然後就轉到/usr/share/debconf/那裡去了. 暈倒...糊塗糊塗...我說的 > 那個Description都是apt-setup/templates的. 為我的失誤向各位道歉.//bow > 我就是要把運行apt-setup之後出來的所有信息都要中文化. :)
[EMAIL PROTECTED] /usr/share/debconf/templates/apt-setup.templates 裡的東西換成中文就可以正常顯示中文。但是你要想讓 debconf 根據locale 選擇文件,你大概需要修改 frontend 這個文件。那是個 perl 程序。讓它查看 locale 然後根據locale [EMAIL PROTECTED]@下,免得白做工。 P.S. 到是這個破 apt-setup [EMAIL PROTECTED] [EMAIL PROTECTED] -- Best regard hashao -- | This message was re-posted from [email protected] | and converted from gb2312 to big5 by an automatic gateway.

