{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/13721","labels_url":"https://api.github.com/repos/symfony/symfony/issues/13721/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13721/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/13721/events","html_url":"https://github.com/symfony/symfony/pull/13721","id":57949158,"number":13721,"title":"[PropertyAccess] Add french singular for words like typologies > typologie","user":{"login":"CaporalDead","id":1705597,"avatar_url":"https://avatars.githubusercontent.com/u/1705597?v=3","gravatar_id":"","url":"https://api.github.com/users/CaporalDead","html_url":"https://github.com/CaporalDead","followers_url":"https://api.github.com/users/CaporalDead/followers","following_url":"https://api.github.com/users/CaporalDead/following{/other_user}","gists_url":"https://api.github.com/users/CaporalDead/gists{/gist_id}","starred_url":"https://api.github.com/users/CaporalDead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaporalDead/subscriptions","organizations_url":"https://api.github.com/users/CaporalDead/orgs","repos_url":"https://api.github.com/users/CaporalDead/repos","events_url":"https://api.github.com/users/CaporalDead/events{/privacy}","received_events_url":"https://api.github.com/users/CaporalDead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-17T16:49:55Z","updated_at":"2015-02-18T18:13:07Z","closed_at":"2015-02-18T10:08:57Z","pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13721","html_url":"https://github.com/symfony/symfony/pull/13721","diff_url":"https://github.com/symfony/symfony/pull/13721.diff","patch_url":"https://github.com/symfony/symfony/pull/13721.patch"},"body":"Hi,\r\n\r\nWe just encountered a problem while using 'by_reference' attribute as false in a form which caused a ```NoSuchPropertyException``` because the StringUtil class in PropertyAccess doesn't handle correctly the case when for example you have \"Typologies\" (plural) that should be translated into \"Typologie\" and not \"Typology\".\r\n\r\nI just add this case and a test case which covered the word \"typologies\" and it seems that it doesn't break other test cases.\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #13723 \r\n| License       | MIT\r\n| Doc PR        | [PropertyAccess] Add french singular for words like typologies > typologie"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/74915975","html_url":"https://github.com/symfony/symfony/pull/13721#issuecomment-74915975","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13721","id":74915975,"user":{"login":"CaporalDead","id":1705597,"avatar_url":"https://avatars.githubusercontent.com/u/1705597?v=3","gravatar_id":"","url":"https://api.github.com/users/CaporalDead","html_url":"https://github.com/CaporalDead","followers_url":"https://api.github.com/users/CaporalDead/followers","following_url":"https://api.github.com/users/CaporalDead/following{/other_user}","gists_url":"https://api.github.com/users/CaporalDead/gists{/gist_id}","starred_url":"https://api.github.com/users/CaporalDead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaporalDead/subscriptions","organizations_url":"https://api.github.com/users/CaporalDead/orgs","repos_url":"https://api.github.com/users/CaporalDead/repos","events_url":"https://api.github.com/users/CaporalDead/events{/privacy}","received_events_url":"https://api.github.com/users/CaporalDead/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T18:13:07Z","updated_at":"2015-02-18T18:13:07Z","body":"Thanks for replying, still I think that there should be a way to tell to doctrine to use another translator. \r\n\r\n@fabpot I understand the fact that it should handle everything or nothing or a way to tell to symfony to use a specific getter/setter maybe. Using english can be very usefull sometimes but when you work with a french customer that have specific words related to his business, translate them can be confusing for your team or for him.\r\n\r\nWe'll stick with our fork for the moment until 2.7 is released.\r\n\r\nThanks all."}}