File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing i18n properties from javascript

 
Arne Andersen
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This should be an easy question:

How can I access the i18n properties from within javascript?
I've tried to google it, but couldnt find much useful. Closest i came was:
var text = "%{getText('i18n.properties.xxx')}";
but that didnt work..

any ideas?
 
Jose Daquila
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!

alert("<bean:message key="msg.gral.errorKey"/>");

That is one way. It works!


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic