This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.forge.codelutin.com/coselmar.git commit a6488300d691d803c7ea3931ecb3196bfb60c801 Author: Yannick Martel <martel@©odelutin.com> Date: Tue Feb 9 19:07:22 2016 +0100 fixes #7982 force locale to English by default --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index 9665e4f..db0f90c 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -78,8 +78,10 @@ coselmarControllers.controller("HomeCtrl", ['$scope', '$http', '$location', '$ro if (!$scope.locale) { // set locale with browser preference - $scope.locale = navigator.language || navigator.userLanguage; - $scope.locale = $scope.locale.substring(0,2); +// $scope.locale = navigator.language || navigator.userLanguage; +// $scope.locale = $scope.locale.substring(0,2); + // See #7982: default locale is forced to English + $scope.locale = "en"; // get locale supported if (coselmarConfig.SUPPORTED_LOCALE.indexOf($scope.locale) == -1) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.