Fix `defaultLocale` and cleanup whitespace