Changing the Language and Date Format

Changing the Language and Date Format

US format

MONTH/DAY/YEAR

EU Format

DAY/MONTH/YEAR

To make this change all you need to do is run the following command.

systemctl edit hylafax-faxq.service

And then add the following to the file

[Service]

Environment="LANG=de_DE.UTF-8"

After you add the above simply run service hylafax restart to make the change.

Be sure to change the de_DE to whatever language you are trying to set it to. The above example was used to set a customers language to German.

Another example is below of setting the language to French Canadian.

[Service]

Environment="LANG= fr_CA.UTF-8"

Be sure there are no spaces on the second line. If there are any the language change will not take.

If you need to set this on an older version of CentOS you will need to make a few slight changes.

Edit the file /etc/hylafax/wrapper.sh and add the following after changing the language to match what you are trying to change.

LANG=de_DE.UTF-8

Then simply run service hylafax restart to make the change.