{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/144","labels_url":"https://api.github.com/repos/laravel/framework/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/144/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/144/events","html_url":"https://github.com/laravel/framework/issues/144","id":10280954,"number":144,"title":"[Request] Translate field name in validation messages","user":{"login":"billmn","id":779534,"avatar_url":"https://avatars.githubusercontent.com/u/779534?v=3","gravatar_id":"","url":"https://api.github.com/users/billmn","html_url":"https://github.com/billmn","followers_url":"https://api.github.com/users/billmn/followers","following_url":"https://api.github.com/users/billmn/following{/other_user}","gists_url":"https://api.github.com/users/billmn/gists{/gist_id}","starred_url":"https://api.github.com/users/billmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billmn/subscriptions","organizations_url":"https://api.github.com/users/billmn/orgs","repos_url":"https://api.github.com/users/billmn/repos","events_url":"https://api.github.com/users/billmn/events{/privacy}","received_events_url":"https://api.github.com/users/billmn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-01-24T17:24:22Z","updated_at":"2015-08-03T20:41:36Z","closed_at":"2013-01-25T14:25:52Z","body":"I think that can be useful a method to translate fields name in validation messages without create custom messages for all fields.\r\n\r\nAn example of message ( \"The :attribute field is required.\" ) : \r\n<pre>\r\n// English\r\nThe \"price\" field is required.\r\n\r\n// Italian\r\nIl campo \"price\" è richiesto. &laquo;-- wrong\r\nIl campo \"prezzo\" è richiesto. &laquo;-- better\r\n\r\n// French ( sorry for the translation, I don't know French :-) )\r\nLe \"price\" est nécessaire. &laquo;-- wrong\r\nLe \"prix\" est nécessaire. &laquo;-- better\r\n</pre>\r\n\r\nWhat do you think about it?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/127401350","html_url":"https://github.com/laravel/framework/issues/144#issuecomment-127401350","issue_url":"https://api.github.com/repos/laravel/framework/issues/144","id":127401350,"user":{"login":"miladrahimi","id":6689295,"avatar_url":"https://avatars.githubusercontent.com/u/6689295?v=3","gravatar_id":"","url":"https://api.github.com/users/miladrahimi","html_url":"https://github.com/miladrahimi","followers_url":"https://api.github.com/users/miladrahimi/followers","following_url":"https://api.github.com/users/miladrahimi/following{/other_user}","gists_url":"https://api.github.com/users/miladrahimi/gists{/gist_id}","starred_url":"https://api.github.com/users/miladrahimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miladrahimi/subscriptions","organizations_url":"https://api.github.com/users/miladrahimi/orgs","repos_url":"https://api.github.com/users/miladrahimi/repos","events_url":"https://api.github.com/users/miladrahimi/events{/privacy}","received_events_url":"https://api.github.com/users/miladrahimi/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T20:41:36Z","updated_at":"2015-08-03T20:41:36Z","body":"https://github.com/laravel/laravel/blob/develop/app/lang/en/validation.php#L87\r\nPage not found,\r\nI have this question too"}}