macsat.com OpenWrt and ASUS WL Forum

SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible => Firmware => Topic started by: Adamoff on July 27, 2008, 16:06:29 PM



Title: Change locale
Post by: Adamoff on July 27, 2008, 16:06:29 PM
Hello !
I need help  ??? I have no idea how to change locale in my Airlive to russian...
I use FW C009-M2 RU charsets and after installing minimal-config.tar,  util-linux.tar, nfs-utils.tar, modules-kernel.tar and busybox2-extended.tar.gz  LOCALE switched to Polish !!! MC runs now in polish (as i know it takes language option from locale... )
Plz help me to swith locale to Russian or English...
Thanx


Title: Re: Change locale
Post by: Kradovanster on September 14, 2008, 13:12:55 PM
I dont know how to change locale to rusian but yuo can force mc to use english by deleteing polish files in sys/locale/PL  delete folder PL and in /sys/mc/ delete mc.hint.pl and mc.help.pl reatart mc and it'l be in english
if youu find out how to change local pleas share.
Greeting Kradovan
forget this found out how to change locale

go to folder sys/etc/

use editor to edit file "profile"

inside file you'll find

export LC_CTYPE=pl_PL
export LC_LANG=pl_PL
export LC_TIME=pl_PL
export LC_ALL=pl_PL
export LC_MESSAGES=pl_PL
export LC=pl_PL
export LC_LOCALE=pl_PL
export LC_COLLATE=pl_PL
export LC_MONETARY=pl_PL
export LC_NUMERICS=pl_PL
export LANG=pl_PL

change pl_PL to ru_RU or uk_UK save file start mc and it will be in rusian or english dependig on your change.
Greeting Kradovan