fix(service): reformat detected locales to something like "en_US"

fixes Issue #431