{"action":"created","issue":{"url":"https://api.github.com/repos/robisim74/angular2localization/issues/11","repository_url":"https://api.github.com/repos/robisim74/angular2localization","labels_url":"https://api.github.com/repos/robisim74/angular2localization/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/robisim74/angular2localization/issues/11/comments","events_url":"https://api.github.com/repos/robisim74/angular2localization/issues/11/events","html_url":"https://github.com/robisim74/angular2localization/issues/11","id":155727069,"number":11,"title":"Feature request: add ability to pass language code to the pipe","user":{"login":"AhmedMozaly","id":781863,"avatar_url":"https://avatars.githubusercontent.com/u/781863?v=3","gravatar_id":"","url":"https://api.github.com/users/AhmedMozaly","html_url":"https://github.com/AhmedMozaly","followers_url":"https://api.github.com/users/AhmedMozaly/followers","following_url":"https://api.github.com/users/AhmedMozaly/following{/other_user}","gists_url":"https://api.github.com/users/AhmedMozaly/gists{/gist_id}","starred_url":"https://api.github.com/users/AhmedMozaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhmedMozaly/subscriptions","organizations_url":"https://api.github.com/users/AhmedMozaly/orgs","repos_url":"https://api.github.com/users/AhmedMozaly/repos","events_url":"https://api.github.com/users/AhmedMozaly/events{/privacy}","received_events_url":"https://api.github.com/users/AhmedMozaly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-19T12:40:52Z","updated_at":"2016-05-19T13:31:28Z","closed_at":null,"body":"Currently, the translate pipe reads the language code from LocaleService which is fine **as a default behavior**\r\n\r\nBut with being the **only available behavior** This caused a limitation, where some areas in the view need to translate to certain language (language is already supported in the app) but no way to do so without changing the entire language in the app\r\n\r\nWe managed to add such feature in-house, with this syntax\r\n\r\n`\"UserName\" | translate : \"ar\"`\r\n\r\nBut it will be much better to be supported in the library, to avoid duplicating the effort of modifying the pipe again after each new release "},"comment":{"url":"https://api.github.com/repos/robisim74/angular2localization/issues/comments/220324620","html_url":"https://github.com/robisim74/angular2localization/issues/11#issuecomment-220324620","issue_url":"https://api.github.com/repos/robisim74/angular2localization/issues/11","id":220324620,"user":{"login":"robisim74","id":14012361,"avatar_url":"https://avatars.githubusercontent.com/u/14012361?v=3","gravatar_id":"","url":"https://api.github.com/users/robisim74","html_url":"https://github.com/robisim74","followers_url":"https://api.github.com/users/robisim74/followers","following_url":"https://api.github.com/users/robisim74/following{/other_user}","gists_url":"https://api.github.com/users/robisim74/gists{/gist_id}","starred_url":"https://api.github.com/users/robisim74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robisim74/subscriptions","organizations_url":"https://api.github.com/users/robisim74/orgs","repos_url":"https://api.github.com/users/robisim74/repos","events_url":"https://api.github.com/users/robisim74/events{/privacy}","received_events_url":"https://api.github.com/users/robisim74/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T13:31:28Z","updated_at":"2016-05-19T13:31:28Z","body":"Just one question: this also requires that all translations are simultaneously loaded into LocalizationService even in the case of asynchronous loading? I would need to see changes to evaluate well."}}