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

Re: 关于dselect和apt-setup/perl的问题



Well, thank you very much for your reply. I know some of the locale stuff.
I didn't mean to ask perl itself to show me Chinese msg but applications
based on it to show me the specified msg. :) OK, have a look into the
perled apt-setup and you could get some "Description" there. Guys
programmed it and I thought it would be useful or it would not be there.
I don't think apt-setup is similar with C-binary programs. I did search
via google.com and got some in the perl official documentation but all
were NOT exactly what I wanted. Bad news. :( Any other better advice? :)

Dec 19, 2000

On Mon, 18 Dec 2000, Alex Lau wrote:

> The way I handle it is use dselect do the update.. and then select.. you can
> choice to unselect the updated new package... that way you won't get the
> problem..but very slow :) also..  as I remeber.. debian provide something call
> majoy update ( which mean it only update the essential package ) you may check
> that out also.
> Perl just like C you can set your locale by using gettext and set locale..that's
> why you get the error...(so do I) the problem is the program itself didn't
> (perl)
> come with a chinese locale interface..when the program look for
> (/usr/share/locale/"your-locale"/"your-app".mo) is not there.. then they use the
> default locale..that's what I understand... hope it will help you..
> so if you really want perl to show chinese message..then you may build the mo
> file form Perl source code and put it in that location. Or you can search in the
> net and see anyone already did that...  :)
> Not all app using gettext..  == Not all app can use locale.
> But I think Perl use gettext.
> Good luck
> Alex
> 
> > On Tue, Dec 19, 2000 at 12:16:17AM +0800, linuxrat@gnuchina.org wrote:
> > > 1. ʹÓÃdselect upgrade/apt-get upgradeÑ¡¶¨Ò»Ð©¸üеÄÈí¼þÖ®ºó²¢
> > >    Ö´ÐÐÁËinstall,µ«ÊÇÓÐһЩÈí¼þÎÒ²¢²»Ïë°²×°,Á¢¿Ì¾ÍÖÕÖ¹ÁË. µ«ÊÇ
> > >    ÒÔºóÖ´Ðа²×°µÄʱºòapt-getÕâЩ°ü¹ÜÀí³ÌÐò×ÜÊDZ§Ô¹¶øÇÒÊÔͼ°²×°
> > >    ÏÂÈ¥. ÎÒÏë»Ö¸´Ã»ÓÐupgrade֮ǰµÄ״̬, ÓÐûÓÐʲô±È½Ï·½±ãÖ±½Ó
> > >    µÄÃüÁîÐÐÄØ? Ò²¾ÍÊÇ˵, ÎÒÈçºÎÈ¡ÏûdselectµÄupgrade²¢²»ÈÃÆäÌáʾ
> > >    upgrade? ÎÒÊÖ¹¤±à¼­/var/cacheºÍ/var/state,/var/libÏÂÃæapt,
> > >    dpkgÏà¹ØµÄÎļþÀ´½â¾öÊÇÎÊÌâ²»´óµÄ, Ö»ÊǺÃÂé·³µÄ˵. clean, autoclean,
> > >    checkÕâЩ¶¯×÷¶¼Ö´ÐÐÀ². ÎÒÏëÎҵķ½Ê½ÊÇ×î½Ó½üµ×²ãµÄÁË. aptµÄ
> > >    source¶¼´ò¿ªÀ´¿´ÁË. ºÇºÇ...
> >
> > ÎÒºÃÏóÊÇÓà dselect ,°Ñµ·Âҵİü _ ÁË. apt-get Ó¦¸ÃûÓÐÈ¡Ïû
> > Ñ¡ÔñµÄ·½·¨.²»ÏëÉý¼¶µÄ°üʹÓà hold °ÑËüÐüÆðÀ´.
> > >
> > > 2. apt-setupÊÇÒ»¸öperl³ÌÐò, ÎÒ¿´µ½ÓëËüÏà¹ØµÄÒ»¸öÐÅÏ¢Ìáʾģ°åÎļþ
> > >    Óкü¸¸öÓïÖÖµÄÐÅÏ¢, Ö»ÊǸù¾Ý/usr/share/locale/ÏÂÃæµÄlanguage.codeset
> > >    ÐÞ¸ÄÖ®ºóÔËÐÐapt-setup¾¹È»»á±¨´í²¢Ö´ÖøµØʹÓÃLANG=C. ÎÒ¿´ÁËperl
> > >    doc,ҲûÓп´³öÀ´ÄÜÓÃÆäËüµÄÓïÖÖ°üÀ¨it,de,pl,frµÈ¶¼²»Áé¹âÁË. ²»
> > >    ÖªµÀÄÄλµÀÓÑÓйý¸øperlÉèÖÿÉÓõÄi18n/l10n»·¾³±äÁ¿µÄûÓÐ? ¸øСµÜ
> > >    ˵˵ºÎÈç?
> >
> > perl ¾Í²»ÖªµÀÁË,ºÃÏóËüÒ²¿ÉÒÔÓà gettext °É?
> >
> > --
> > Best regard
> > hashao
> >
> > --
> > | This message was re-posted from debian-chinese-gb@lists.debian.org
> > | and converted from gb2312 to big5 by an automatic gateway.
> >
> > --
> > To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> --
> To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> -- 
> | This message was re-posted from debian-chinese-big5@lists.debian.org
> | and converted from big5 to gb2312 by an automatic gateway.
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 




Reply to: