Convert the matches locale

Currently the locale in each browser is being set differently. Some would be `xx-xx` and some
would be `xx-XX`. In this patch we will convert the matches locale to one universal format
then process the lcoale later.