...
LM-X performs checks to verify that environment variables (for example LC_ALL or LANG) are set. If they are not set, then LM-X sets the default directory path that these variables point to to Cthem to "C". However, if the environment variable does not point to a valid locationlocale, then LM-X does not perform any action, because it considers such variable to be set. When LM-X is unable to find a valid locale, you will see an error similar to the following:
...
The following command checks if the current locales are supported (by....................)by your operating system:
locale -a
To install the locale, run the following command:
sudo locale-gen name_of_the_locale
For more information about locales, please refer to official Ubuntu documentation, or see the documentation relevant for your operating system.