Koozali.org: home of the SME Server

Simple and stupid but important tip for beginners

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Simple and stupid but important tip for beginners
« on: March 20, 2005, 08:29:37 PM »
In my server I actualize the version of MC, and inspecting the content of the rpm I realized that it could use it in my language. When looking for inside the directory "LOCALE" under /usr/share directory I discovered that several translations exist of many of the programs that I use.  
Already you that this seems very silly, but shone my eyes when discovering them.  
Looking for in the maillist of MC to be able to change it to my language, I also read that it could change all that was translated to my language in the following way typing in command shell:  
export LC_ALL=es_ES
Then when start MC this in my language, WGET and  VI too.  
Alone I have a question to make.  
When I close the putty shell, and I enter again, I see that I lost all the changes returning to the original language (English).  
Is there some form so that these changes are fixed, unless I want to revert them?
Thanks
PicsOne

Offline psoren

  • *
  • 371
  • +0/-0
Re: Simple and stupid but important tip for beginners
« Reply #1 on: March 21, 2005, 12:04:01 AM »
Quote from: "PicsOne"
In my server I actualize the version of MC, and inspecting the content of the rpm I realized that it could use it in my language. When looking for inside the directory "LOCALE" under /usr/share directory I discovered that several translations exist of many of the programs that I use.  
Already you that this seems very silly, but shone my eyes when discovering them.  
Looking for in the maillist of MC to be able to change it to my language, I also read that it could change all that was translated to my language in the following way typing in command shell:  
export LC_ALL=es_ES
Then when start MC this in my language, WGET and  VI too.  
Alone I have a question to make.  
When I close the putty shell, and I enter again, I see that I lost all the changes returning to the original language (English).  
Is there some form so that these changes are fixed, unless I want to revert them?
Thanks
PicsOne


Hi

Just put that line: export LC_ALL=es_ES at the bottom of the file /root/.bash_profile
I just did and i don't understand a word so it must be working..... ;-)

Per :hammer:

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Simple and stupid but important tip for beginners
« Reply #2 on: March 21, 2005, 12:16:21 AM »
Yes, work perfectly. Now, I use MC and other usesfull programs in my language.
Thank you
PicsOne  :-D