Support locale to override defaultLocale

Closes #2