Linux locale settings for GAUSS

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?

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

983

Your Answer

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.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

REQUEST A FREE QUOTE

Thank you for your interest in the GAUSS family of products.

© Aptech Systems, Inc. All rights reserved.

Privacy Policy | Sitemap