When searching for locales, make sure to split on both "-" and "_".

fixes #7