{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1858","repository_url":"https://api.github.com/repos/angular-translate/angular-translate","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1858/comments","events_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1858/events","html_url":"https://github.com/angular-translate/angular-translate/issues/1858","id":364660060,"node_id":"MDU6SXNzdWUzNjQ2NjAwNjA=","number":1858,"title":"Replace double quotes with single using angular-translate?","user":{"login":"adeelasghar88","id":12492009,"node_id":"MDQ6VXNlcjEyNDkyMDA5","avatar_url":"https://avatars3.githubusercontent.com/u/12492009?v=4","gravatar_id":"","url":"https://api.github.com/users/adeelasghar88","html_url":"https://github.com/adeelasghar88","followers_url":"https://api.github.com/users/adeelasghar88/followers","following_url":"https://api.github.com/users/adeelasghar88/following{/other_user}","gists_url":"https://api.github.com/users/adeelasghar88/gists{/gist_id}","starred_url":"https://api.github.com/users/adeelasghar88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeelasghar88/subscriptions","organizations_url":"https://api.github.com/users/adeelasghar88/orgs","repos_url":"https://api.github.com/users/adeelasghar88/repos","events_url":"https://api.github.com/users/adeelasghar88/events{/privacy}","received_events_url":"https://api.github.com/users/adeelasghar88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T21:27:25Z","updated_at":"2018-09-27T21:27:25Z","closed_at":null,"author_association":"NONE","body":"I am using angular-translate for translating English to French but the issue is it converts single quote to double quote. I want to replace translated double quotes with single quote. I have a filter but its not applying on translated text.\r\n`<div class=\"no-text\" ng-if=\"question.length == 0\" translate=\"msg.site_is_not_applicable\" translate-default=\"This site is not applicable\"></div>`\r\n\r\ne.g. msg.site_is_not_applicable(EN) = This site is not applicable\r\nAfter translated in French = le site n''est pas applicable\r\n\r\nDoing this but its not working!\r\n\r\n`<div class=\"no-text\" ng-if=\"question.length == 0\" translate=\"msg.site_is_not_applicable | quoteSingle\" translate-default=\"This site is not applicable\"></div>`\r\n\r\nWant to replace double quoted with single quote. Can someone help how I can do this using angular-translate?\r\n\r\n`app.module('app.filters', []).filter('quoteSingle', function() {\r\n   return function(text) {\r\n    return text.replace(/\"/g, \"'\");\r\n   };\r\n});`"}}
{"actor":{"display_login":"adeelasghar88"}}