{"action":"created","issue":{"url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/572","labels_url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/572/comments","events_url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/572/events","html_url":"https://github.com/Knockout-Contrib/Knockout-Validation/issues/572","id":95658685,"number":572,"title":"Locale not loading on errors.showAllMessages(true)","user":{"login":"Juandozco","id":13381648,"avatar_url":"https://avatars.githubusercontent.com/u/13381648?v=3","gravatar_id":"","url":"https://api.github.com/users/Juandozco","html_url":"https://github.com/Juandozco","followers_url":"https://api.github.com/users/Juandozco/followers","following_url":"https://api.github.com/users/Juandozco/following{/other_user}","gists_url":"https://api.github.com/users/Juandozco/gists{/gist_id}","starred_url":"https://api.github.com/users/Juandozco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juandozco/subscriptions","organizations_url":"https://api.github.com/users/Juandozco/orgs","repos_url":"https://api.github.com/users/Juandozco/repos","events_url":"https://api.github.com/users/Juandozco/events{/privacy}","received_events_url":"https://api.github.com/users/Juandozco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-17T13:43:41Z","updated_at":"2015-08-03T17:57:18Z","closed_at":null,"body":"Hi, i think there's a bug related to the locale settings when you call the method showAllMessages().\r\nI'm using es-ES locale in one of my apps with ko.validation, but when i call this method, it wont show the messages in spanish as it should, but in english, ignoring locale settings. My code looks like this:\r\n\r\n```js\r\nko.validation.locale(\"es-es\");\r\n    ko.validation.init({\r\n        registerExtenders: true,\r\n        messagesOnModified: true,\r\n        insertMessages: true,\r\n        parseInputAttributes: true,\r\n        errorElementClass: \"has-error\",\r\n        errorMessageClass: \"help-block\",\r\n        decorateInputElement: true\r\n    }, true);\r\n\r\nself.saveUser = function () {\r\n        var errors = ko.validation.group(self, { deep: true });\r\n        if (errors().length === 0) {\r\n            var user = ko.toJSON(self);\r\n            dataModel.putUser(user)\r\n                .done(function(result) {\r\n                    alert(\"User saved\");\r\n                })\r\n                .fail(self.onUserCreationError);\r\n        } else {\r\n            errors.showAllMessages(true);\r\n        }\r\n    }\r\n```\r\nmessages will display if there are errors in the saveUser() call, but they wont be in the language it was set in the ko.validation.locale\r\n\r\n\r\nEDIT:\r\n\r\nLooking at ko.validation code, i noticed this messages are just there, in each of the validations, that is why they are not showing using the locale settings."},"comment":{"url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/comments/127350567","html_url":"https://github.com/Knockout-Contrib/Knockout-Validation/issues/572#issuecomment-127350567","issue_url":"https://api.github.com/repos/Knockout-Contrib/Knockout-Validation/issues/572","id":127350567,"user":{"login":"crissdev","id":822571,"avatar_url":"https://avatars.githubusercontent.com/u/822571?v=3","gravatar_id":"","url":"https://api.github.com/users/crissdev","html_url":"https://github.com/crissdev","followers_url":"https://api.github.com/users/crissdev/followers","following_url":"https://api.github.com/users/crissdev/following{/other_user}","gists_url":"https://api.github.com/users/crissdev/gists{/gist_id}","starred_url":"https://api.github.com/users/crissdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crissdev/subscriptions","organizations_url":"https://api.github.com/users/crissdev/orgs","repos_url":"https://api.github.com/users/crissdev/repos","events_url":"https://api.github.com/users/crissdev/events{/privacy}","received_events_url":"https://api.github.com/users/crissdev/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T17:57:18Z","updated_at":"2015-08-03T17:57:18Z","body":"@Juandozco Can you post a repro please, [jsbin](https://jsbin.com/) or [jsfiddle](http://jsfiddle.net/)?"}}