LPS-43332 Use locale instead of themeDisplay.getLocale()