开发者

Localized messages in Pentaho reports

I am currently trying to put a localized message in a Pentaho report. The message has one parameter which is to be inserted into the message's localized text like

All approved disconnects of ${company} in ${region}

How do I do 开发者_JS百科that using Pentaho Report Designer? I've tried a resource-message. It correctly accesses a localized text defined in a resource bundle inlined with the report file but I cannot get it to substitute the placeholder for the parameter. How do I connect the message to parameters of the report?


Are you connecting the message to parameters or a field? A resource-message should be fine. You need to replace your curly braces to parentheses.

For example, in my translations file.

REPORT_DATE=Report Date: $(report date, date, MMMM yyyy)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜