commit c3f5d35da83aeacc68024ec2748a4541e0e4d61a
Author: Tim Van Samang <tim.vansamang@intracto.com>
Date:   Mon Apr 29 11:46:38 2013 +0200

    Patch for using language detection by browser

diff --git a/htdocs/sites/all/modules/contrib/domain_locale/domain_locale.module b/htdocs/sites/all/modules/contrib/domain_locale/domain_locale.module
index d733324..1fdf79b 100644
--- a/htdocs/sites/all/modules/contrib/domain_locale/domain_locale.module
+++ b/htdocs/sites/all/modules/contrib/domain_locale/domain_locale.module
@@ -24,7 +24,7 @@ function domain_locale_init() {
       else {
         $http = 'http://';
       }
-      drupal_goto($http . $_domain['subdomain']);
+      drupal_goto($http . $_domain['subdomain'].'/'.$language->language);
     }
   }
 }
