{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5510","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5510/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5510/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5510/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/5510","id":95014383,"number":5510,"title":"To add Translate token to TextTokens","user":{"login":"jersiovic","id":4950766,"avatar_url":"https://avatars.githubusercontent.com/u/4950766?v=3","gravatar_id":"","url":"https://api.github.com/users/jersiovic","html_url":"https://github.com/jersiovic","followers_url":"https://api.github.com/users/jersiovic/followers","following_url":"https://api.github.com/users/jersiovic/following{/other_user}","gists_url":"https://api.github.com/users/jersiovic/gists{/gist_id}","starred_url":"https://api.github.com/users/jersiovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jersiovic/subscriptions","organizations_url":"https://api.github.com/users/jersiovic/orgs","repos_url":"https://api.github.com/users/jersiovic/repos","events_url":"https://api.github.com/users/jersiovic/events{/privacy}","received_events_url":"https://api.github.com/users/jersiovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-14T18:59:58Z","updated_at":"2015-07-15T04:41:52Z","closed_at":null,"body":"It is useful to have the possibility of getting the value returned by a token translated to the current culture.\r\n\r\nI would like to add Translate token to TextTokens.\r\nIt is a very easy feature to add, What do you think of adding it to the core?\r\nIf you accept it can you assign me the issue in order to submit a pull request?"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/121485980","html_url":"https://github.com/OrchardCMS/Orchard/issues/5510#issuecomment-121485980","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5510","id":121485980,"user":{"login":"jersiovic","id":4950766,"avatar_url":"https://avatars.githubusercontent.com/u/4950766?v=3","gravatar_id":"","url":"https://api.github.com/users/jersiovic","html_url":"https://github.com/jersiovic","followers_url":"https://api.github.com/users/jersiovic/followers","following_url":"https://api.github.com/users/jersiovic/following{/other_user}","gists_url":"https://api.github.com/users/jersiovic/gists{/gist_id}","starred_url":"https://api.github.com/users/jersiovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jersiovic/subscriptions","organizations_url":"https://api.github.com/users/jersiovic/orgs","repos_url":"https://api.github.com/users/jersiovic/repos","events_url":"https://api.github.com/users/jersiovic/events{/privacy}","received_events_url":"https://api.github.com/users/jersiovic/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T04:41:52Z","updated_at":"2015-07-15T04:41:52Z","body":"A case of use. I have an html widget where I use tokens to render another time the title of a page (it was not enough with the one of the titlePart shape).\r\nThis is the token\r\n #{Content.Current.DisplayText}\r\n\r\nWhat if the page needs to support more than one current culture? I would like to have the Translate token for chaining it to text outputs like the one returned by DisplayText.\r\n\r\n#{Content.Current.DisplayText.Translate}"}}