{"action":"created","issue":{"url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/321","labels_url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/321/comments","events_url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/321/events","html_url":"https://github.com/pentaho/pentaho-reporting/issues/321","id":26458399,"number":321,"title":"Improvement - Context locale override","user":{"login":"Martronic-SA","id":6492010,"avatar_url":"https://avatars.githubusercontent.com/u/6492010?v=3","gravatar_id":"","url":"https://api.github.com/users/Martronic-SA","html_url":"https://github.com/Martronic-SA","followers_url":"https://api.github.com/users/Martronic-SA/followers","following_url":"https://api.github.com/users/Martronic-SA/following{/other_user}","gists_url":"https://api.github.com/users/Martronic-SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Martronic-SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martronic-SA/subscriptions","organizations_url":"https://api.github.com/users/Martronic-SA/orgs","repos_url":"https://api.github.com/users/Martronic-SA/repos","events_url":"https://api.github.com/users/Martronic-SA/events{/privacy}","received_events_url":"https://api.github.com/users/Martronic-SA/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-01-28T17:09:54Z","updated_at":"2015-01-12T14:25:50Z","closed_at":"2015-01-12T14:25:50Z","body":"It should be possible to override the contexts' locale lang with a parameter coming from the datasource.\r\nFor example I'm using Pentaho for printing invoces from OpenERP but I can't have my invoices transleted in customer's language. It's always in system language.\r\n\r\nThe overriden parameter could be in the Report configuration:\r\nenvironment.designtime.Locale = ${lang} to be evaluated and taken from datasource (or it might be passed from pentaho openerp plugin)\r\nor an additionnal attribute in the master report where it would be possible to pass a parameter.\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/comments/69576555","html_url":"https://github.com/pentaho/pentaho-reporting/issues/321#issuecomment-69576555","issue_url":"https://api.github.com/repos/pentaho/pentaho-reporting/issues/321","id":69576555,"user":{"login":"tmorgner","id":1856999,"avatar_url":"https://avatars.githubusercontent.com/u/1856999?v=3","gravatar_id":"","url":"https://api.github.com/users/tmorgner","html_url":"https://github.com/tmorgner","followers_url":"https://api.github.com/users/tmorgner/followers","following_url":"https://api.github.com/users/tmorgner/following{/other_user}","gists_url":"https://api.github.com/users/tmorgner/gists{/gist_id}","starred_url":"https://api.github.com/users/tmorgner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmorgner/subscriptions","organizations_url":"https://api.github.com/users/tmorgner/orgs","repos_url":"https://api.github.com/users/tmorgner/repos","events_url":"https://api.github.com/users/tmorgner/events{/privacy}","received_events_url":"https://api.github.com/users/tmorgner/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T14:25:49Z","updated_at":"2015-01-12T14:25:49Z","body":"Follow this as PRD-3878 on our JIRA system.\r\n\r\nhttp://jira.pentaho.com/browse/PRD-3878"}}