Fix issues with locale in Ubuntu

If you get an error like this:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Try running the following command to fix it:
localedef -i en_US -c -f UTF-8 en_US.UTF-8