{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/14112","labels_url":"https://api.github.com/repos/symfony/symfony/issues/14112/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/14112/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/14112/events","html_url":"https://github.com/symfony/symfony/issues/14112","id":65221844,"number":14112,"title":"[Form] Add translation_params options in form type","user":{"login":"maidmaid","id":4578773,"avatar_url":"https://avatars.githubusercontent.com/u/4578773?v=3","gravatar_id":"","url":"https://api.github.com/users/maidmaid","html_url":"https://github.com/maidmaid","followers_url":"https://api.github.com/users/maidmaid/followers","following_url":"https://api.github.com/users/maidmaid/following{/other_user}","gists_url":"https://api.github.com/users/maidmaid/gists{/gist_id}","starred_url":"https://api.github.com/users/maidmaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidmaid/subscriptions","organizations_url":"https://api.github.com/users/maidmaid/orgs","repos_url":"https://api.github.com/users/maidmaid/repos","events_url":"https://api.github.com/users/maidmaid/events{/privacy}","received_events_url":"https://api.github.com/users/maidmaid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-30T14:16:48Z","updated_at":"2015-04-01T12:18:52Z","closed_at":null,"body":"Hello !\r\n\r\nIt is currently not possible to set the translation parameters to translate label form. Why not add ``translation_params`` (in relation to ``translation_domain``) options in form type ? For example :\r\n\r\n```xml\r\n<!-- app/Resources/messages.fr.xliff -->\r\n<trans-unit id=\"187\">\r\n    <source>accept-terms</source>\r\n    <target><![CDATA[Accepter les <a href=\"%link%\" target=\"_blank\">conditions</a>.]]></target>\r\n</trans-unit>\r\n```\r\n```php\r\n// src/AppBundle/Type/CartType.php\r\n$builder\r\n    ->add('acceptTerms', 'checkbox', array(\r\n        'label' => 'accept-terms',\r\n        'translation_params' => array('%link%' => '...')\r\n    ))\r\n;\r\n```"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/88455904","html_url":"https://github.com/symfony/symfony/issues/14112#issuecomment-88455904","issue_url":"https://api.github.com/repos/symfony/symfony/issues/14112","id":88455904,"user":{"login":"maidmaid","id":4578773,"avatar_url":"https://avatars.githubusercontent.com/u/4578773?v=3","gravatar_id":"","url":"https://api.github.com/users/maidmaid","html_url":"https://github.com/maidmaid","followers_url":"https://api.github.com/users/maidmaid/followers","following_url":"https://api.github.com/users/maidmaid/following{/other_user}","gists_url":"https://api.github.com/users/maidmaid/gists{/gist_id}","starred_url":"https://api.github.com/users/maidmaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidmaid/subscriptions","organizations_url":"https://api.github.com/users/maidmaid/orgs","repos_url":"https://api.github.com/users/maidmaid/repos","events_url":"https://api.github.com/users/maidmaid/events{/privacy}","received_events_url":"https://api.github.com/users/maidmaid/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T12:18:52Z","updated_at":"2015-04-01T12:18:52Z","body":"Yes, waiting other point of view before to engage a PR :+1: "}}