Checking for locales using the "locale" command

It will check if the locale show up in the output of "locale -a"
It will reconfigure the locales after generating a new one so they are available.