Removed support for locale detection, because it is responsibility should be taken by HcCore.