Convert the locale to the right format

If the locale given was all lower case 'en-us' change it to 'en-US'