{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/621","repository_url":"https://api.github.com/repos/sonata-project/SonataUserBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/621/comments","events_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/621/events","html_url":"https://github.com/sonata-project/SonataUserBundle/issues/621","id":107879585,"number":621,"title":"translation not working","user":{"login":"OskarStark","id":995707,"avatar_url":"https://avatars.githubusercontent.com/u/995707?v=3","gravatar_id":"","url":"https://api.github.com/users/OskarStark","html_url":"https://github.com/OskarStark","followers_url":"https://api.github.com/users/OskarStark/followers","following_url":"https://api.github.com/users/OskarStark/following{/other_user}","gists_url":"https://api.github.com/users/OskarStark/gists{/gist_id}","starred_url":"https://api.github.com/users/OskarStark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OskarStark/subscriptions","organizations_url":"https://api.github.com/users/OskarStark/orgs","repos_url":"https://api.github.com/users/OskarStark/repos","events_url":"https://api.github.com/users/OskarStark/events{/privacy}","received_events_url":"https://api.github.com/users/OskarStark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-09-23T09:22:51Z","updated_at":"2016-07-20T14:59:14Z","closed_at":null,"body":"Here we use this translation in ```de```:\r\n\r\n```xml\r\n            <trans-unit id=\"Bad credentials\">\r\n                <source>Bad credentials.</source>\r\n                <target>Benutzername oder Passwort ungültig</target>\r\n            </trans-unit>\r\n```\r\nRef: https://github.com/sonata-project/SonataUserBundle/blob/master/Resources/translations/SonataUserBundle.de.xliff#L497\r\n\r\nThis isn't working, because of the used translation_domain (FOSUserBundle) here:\r\n```\r\n            {% block sonata_user_login_error %}\r\n                {% if error %}\r\n                    <div class=\"alert alert-danger\">{{ error|trans({}, 'FOSUserBundle') }}</div>\r\n                {% endif %}\r\n            {% endblock %}\r\n```\r\n\r\nbut how to fix this problem, i created a ```FOSUserBundle.de.xliff``` file in ```app/Resources/translations```, but how to fix this for this bundle?\r\n\r\nOskar"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/comments/233975958","html_url":"https://github.com/sonata-project/SonataUserBundle/issues/621#issuecomment-233975958","issue_url":"https://api.github.com/repos/sonata-project/SonataUserBundle/issues/621","id":233975958,"user":{"login":"ejkun","id":7905944,"avatar_url":"https://avatars.githubusercontent.com/u/7905944?v=3","gravatar_id":"","url":"https://api.github.com/users/ejkun","html_url":"https://github.com/ejkun","followers_url":"https://api.github.com/users/ejkun/followers","following_url":"https://api.github.com/users/ejkun/following{/other_user}","gists_url":"https://api.github.com/users/ejkun/gists{/gist_id}","starred_url":"https://api.github.com/users/ejkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejkun/subscriptions","organizations_url":"https://api.github.com/users/ejkun/orgs","repos_url":"https://api.github.com/users/ejkun/repos","events_url":"https://api.github.com/users/ejkun/events{/privacy}","received_events_url":"https://api.github.com/users/ejkun/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T14:59:14Z","updated_at":"2016-07-20T14:59:14Z","body":"As I said in the last comment, I found a way to fix it. But since there were many changes in the repository structure, the PR was closed, but the problem still there. @OskarStark , should I rebuild the PR for the 3.x branch? Beacuse it's just a quickfix, if a stable 2.x version of FOSUserBundle is released, everything done in the PR will have to be removed, since the controller itself would stop calling FOSUserBundle controller. What do you think?"}}
{"actor":{"display_login":"ejkun"}}