{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Localization/issues/122","labels_url":"https://api.github.com/repos/aspnet/Localization/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Localization/issues/122/comments","events_url":"https://api.github.com/repos/aspnet/Localization/issues/122/events","html_url":"https://github.com/aspnet/Localization/issues/122","id":112349348,"number":122,"title":"Get segment from mapped route for CustomRequestCultureProvider","user":{"login":"Codenator81","id":4333852,"avatar_url":"https://avatars.githubusercontent.com/u/4333852?v=3","gravatar_id":"","url":"https://api.github.com/users/Codenator81","html_url":"https://github.com/Codenator81","followers_url":"https://api.github.com/users/Codenator81/followers","following_url":"https://api.github.com/users/Codenator81/following{/other_user}","gists_url":"https://api.github.com/users/Codenator81/gists{/gist_id}","starred_url":"https://api.github.com/users/Codenator81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codenator81/subscriptions","organizations_url":"https://api.github.com/users/Codenator81/orgs","repos_url":"https://api.github.com/users/Codenator81/repos","events_url":"https://api.github.com/users/Codenator81/events{/privacy}","received_events_url":"https://api.github.com/users/Codenator81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-20T11:45:39Z","updated_at":"2015-10-20T12:40:37Z","closed_at":null,"body":"I tested after \r\n```\r\napp.UseMvc(routes =>\r\n```\r\nin startup class app.UseRequestLocalization not work.\r\nFor example user want culture segment been in:\r\n```c#\r\nroutes.MapRoute(\r\n                    name: \"transRoute\",\r\n                    template: \"{controller=Home}/{culture=en-US}/{action=Index}/{id?}\");\r\n```\r\n\r\nSo how I can get ```{culture}``` segment to find route match? \r\n\r\nThis is all way not processed:\r\n```c#\r\noptions.RequestCultureProviders.Insert(0, new CustomRequestCultureProvider(async context =>\r\n            {\r\n                var routeContext = new RouteContext(context); // IsHandled all ways false\r\n```\r\n\r\nThanks Alex"},"comment":{"url":"https://api.github.com/repos/aspnet/Localization/issues/comments/149552545","html_url":"https://github.com/aspnet/Localization/issues/122#issuecomment-149552545","issue_url":"https://api.github.com/repos/aspnet/Localization/issues/122","id":149552545,"user":{"login":"Codenator81","id":4333852,"avatar_url":"https://avatars.githubusercontent.com/u/4333852?v=3","gravatar_id":"","url":"https://api.github.com/users/Codenator81","html_url":"https://github.com/Codenator81","followers_url":"https://api.github.com/users/Codenator81/followers","following_url":"https://api.github.com/users/Codenator81/following{/other_user}","gists_url":"https://api.github.com/users/Codenator81/gists{/gist_id}","starred_url":"https://api.github.com/users/Codenator81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codenator81/subscriptions","organizations_url":"https://api.github.com/users/Codenator81/orgs","repos_url":"https://api.github.com/users/Codenator81/repos","events_url":"https://api.github.com/users/Codenator81/events{/privacy}","received_events_url":"https://api.github.com/users/Codenator81/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T12:40:37Z","updated_at":"2015-10-20T12:40:37Z","body":"@hishamco Thanks I implement my code based on your links :+1: \r\nHere cuestion more about how get culture as I do in MVC 5 from Controller\r\n```\r\nRouteData.Values[\"culture\"] as string;\r\n```"}}