BZ1039509: Auto detection of locale from client browser does not work for business-central
(cherry picked from commit 79e9b3d7fdaaf22aed43df30d7a18c29c1938420)