Resources

Linux locale settings for GAUSS

0

I have a computer running Linux with GAUSS. My locale settings are European which uses a comma as the decimal separator. For example 1,20 vs the US equivalent of 1.20. Since GAUSS requires a period for the decimal separator, do I have to change the locale settings for the computer?

Tags: asked September 27, 2012
aptech
352

1 Answer

0
accepted

You can change the localization settings just for your GAUSS session by creating a bash script that sets the localization for one shell and then launches GAUSS with those settings applied. This way the settings will apply only to GAUSS and not any other programs. The contents of the file could be:

#/bin/bash
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
./gauss &

Save this file in your GAUSSHOME directory and start this file instead of the GAUSS executable.

aptech
352