{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/14297","labels_url":"https://api.github.com/repos/symfony/symfony/issues/14297/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/14297/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/14297/events","html_url":"https://github.com/symfony/symfony/issues/14297","id":67537578,"number":14297,"title":"[Translator] First occurence in yml not read","user":{"login":"Rvanlaak","id":2707563,"avatar_url":"https://avatars.githubusercontent.com/u/2707563?v=3","gravatar_id":"","url":"https://api.github.com/users/Rvanlaak","html_url":"https://github.com/Rvanlaak","followers_url":"https://api.github.com/users/Rvanlaak/followers","following_url":"https://api.github.com/users/Rvanlaak/following{/other_user}","gists_url":"https://api.github.com/users/Rvanlaak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rvanlaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rvanlaak/subscriptions","organizations_url":"https://api.github.com/users/Rvanlaak/orgs","repos_url":"https://api.github.com/users/Rvanlaak/repos","events_url":"https://api.github.com/users/Rvanlaak/events{/privacy}","received_events_url":"https://api.github.com/users/Rvanlaak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Translator","name":"Translator","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-10T08:08:44Z","updated_at":"2015-04-10T10:19:00Z","closed_at":null,"body":"Over the last few months occasionally a quite weird bug occurs. Seems to be occurring since the `2.6` branch, but don't tested that yet. Will make a reproducible test case later on.\r\n\r\n```twig\r\n{{ 'step'|trans({'%step%': stepNo}) }}\r\n```\r\n\r\n__Not working__\r\n```yml\r\nstep: Schritt %step%\r\nto_step: Zu Schritt %step% »\r\n```\r\n__Working__\r\n```yml\r\nstub: - empty -\r\nstep: Schritt %step%\r\nto_step: Zu Schritt %step% »\r\n```\r\nThe first translation occurrence in the yml file is not read, so the fallback message is shown. Clearing the cache does not solve it, putting a \"stub\" translation on top of the file does solve it. "},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/91507277","html_url":"https://github.com/symfony/symfony/issues/14297#issuecomment-91507277","issue_url":"https://api.github.com/repos/symfony/symfony/issues/14297","id":91507277,"user":{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T10:19:00Z","updated_at":"2015-04-10T10:19:00Z","body":"I can't reproduce your issue in both 2.6-dev and 2.7-dev.\r\ncan you make the changes in a fork of Symfony Standard Edition to reproduce it?"}}