Problem with Internationalization (i18n) in composer

19 views
Skip to first unread message

tow...@gmail.com

unread,
Dec 6, 2012, 6:56:03 AM12/6/12
to zk-ui...@googlegroups.com
I am having problems using internationalization in my composers. In my view (gsp-files) it is always working like a charm with:

** WORKING (in view / gsp):
${message(code:'some.attribute.label',default:'Default text')}

But when i try to call the message function inside my composer it always results in the default text (like the resource doesn't get resolved:

** NOT WORKING (in composer / groovy):
g.message(code:"some.attribute.label", default:"Default text")

does anyone have any suggestions?

Best regards,
Tobias

Reply all
Reply to author
Forward
0 new messages