aspose file tools*
The moose likes Other Open Source Projects and the fly likes internationalization in iText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "internationalization in iText" Watch "internationalization in iText" New topic
Author

internationalization in iText

Tuong Nguyen
Greenhorn

Joined: Mar 23, 2007
Posts: 9
I have Struts tag & JSTL. How can i use them is iText?
Example: <bean:message key="message.hello"/> print Hello in English or Hallo in German.
Please show me a example. Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41884
    
  63
You can use the normal mechanism of using resource bundles. The code would look something like:



Then you can have files MyAppBundle.properties, MyAppBundle_en.properties etc.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: internationalization in iText