On Thu, 28 Oct 2004 01:05:53 +0900, HoangNam <[EMAIL PROTECTED]> wrote:
> Em du`ng FC2, init runlevel 3
> 
> Em muo^'n dda(.t LANG nhu+ sau:
>  trong console (khi chu+a startx) la` en_US.UTF-8
>  trong Xwindow la` vi_VN.UTF-8
>  khi telnet dde^'n thi` LANG la` ja_JP.UTF-8
> 
> lie^.u mi`nh co' the^? tu+. ddo^.ng ho'a ca'c thao ta'c tre^n kho^ng a. ?
> 
> Co' the^? dda(.t default LANG la` en_US.UTF-8, dda(.t trong .xinitrc do`ng
> export LANG=vi_VN.UTF-8
> 
> va` khi ddo' kho+?i ddo^.ng X se~ ddu+o+.c tie^'ng Vie^.t, co`n chu+a kho+?i
> ddo^.ng X thi` la` tie^'ng Anh . Nhu+ng em kho^ng bie^'t, khi remote vo+'i
> telnet thi` dda(.t LANG nhu+ the^' na`o .

alias mytelnet="LANG=ja_JP.UTF-8 telnet"

Sau ddo' thi` xa`i mytelnet thay vi` telnet se~ co' LANG nhu+ y' muo^'n :)
Le^.nh alias co' the^? bo? va`o ~/.bashrc hay ~/.bash_profile hoa(.c
ne^'u cho ca? system thi` cho vao ca'c file tu+o+ng u+'ng trong /etc.

HTH,
-- 
http://vnoss.org/forum/


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho