Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

How to change Locale

Alexander Ryzhov edited this page Aug 12, 2015 · 2 revisions

Most of firmwares can execute /opt/etc/profile on SSH/Telnet login. Just edit it with your favorite text editor:

nano /opt/etc/profile

There are 2 lines that you have to modify to suit your needs

# export LANG='ru_RU.UTF-8'
# export LC_ALL='ru_RU.UTF-8'

Where 'ru' is the country code in lowercase and 'RU' in uppercase. You only have to replace it with the code of the desired country and uncomment the lines (remove trailing '#' to enable them)

Save the file, and reload the terminal session (you can log-out and re-login).

Clone this wiki locally