Tor Norbye's Weblog
"Creator" on this page refers to Sun Java Studio Creator.
« Code Advice #13:... | Main | More on Nullness »

20060823 Wednesday August 23, 2006

Writing internationalized web applications with Creator

This is just quick a pointer to a great blog entry I came across written by Gregory Murphy (from the Creator team) which tells you how to work with resource bundles in Creator. Until now, writing a web application with proper resource bundle lookups has meant giving up some WYSIWYG aspects, because the <f:loadBundle> tag is not interpreted at designtime. But with Gregory's solution, we finally have a simple way to get designtime display of the localized text.

(2006-08-23 20:17:47.0) Permalink Comments [3]

Comments:

Nice, Do you have a link concerning dynamic internationalization with SWING/AWT ? I'm looking for a way to change language of an app without restarting it...But can't find anything else that a PPT written for JavaOne 2005 explaining some I18nUtils but can't find these "utils" anywhere. It seems that nobody wrote that before...( or at least not shared to java community) ?

Posted by Flo on August 24, 2006 at 12:16 AM PDT #

Maybe this will help you: http://forum.java.sun.com/thread.jspa?threadID=296124&messageID=2104655. Looks like it might require some heavy lifting though (e.g. recursing through your component hierarchy using Component.getComponent(index).

Posted by Tor Norbye on August 24, 2006 at 07:28 AM PDT #

Is there a way to change the behaviour to get the text from a database instead of from a resource file? Thanks Chris

Posted by ChrisL on August 26, 2006 at 01:14 PM PDT #

Post a Comment:

Comments are closed for this entry.