adjust spec to locales