Page 1 of 1

Is there a "regedit" in CentOS to configure NLS_LANG?

Posted: 2012/05/18 08:31:32
by vnavas
I found that if I want to configure in WINDOWS the Oracle's NLS_LANG, all I need to do is going to REGEDIT and configure the Key HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME0. But I need to do the same thing in CentOS, so I wonder if there is a similiar way to configure the NLS_LANG in CentOS.

Thanks!

Re: Is there a "regedit" in CentOS to configure NLS_LANG?

Posted: 2012/05/18 09:00:24
by Unrealized
You can use export NLS_LANG="language" in terminal.

Is there a "regedit" in CentOS to configure NLS_LANG?

Posted: 2012/05/18 15:31:54
by pschaff
Welcome to the CentOS fora to both [b]vnavas[/b] and [b]Unrealized[/b]. Please see the recommended reading for new users linked in my signature.

The Enterprise Linux approach to setting a global value for all users is to create scripts in /etc/profile.d/. The existing files there should provide some examples of the techniques for sh/bash and csh/tcsh shells. It you want to set the values for only a single user, then the changes should be made to the "dot" files in the home directory, for instance ~/.bashrc for bash shell users. If you have questions please show what you have tried and any errors you encountered in trying to implement setting the environment variables.