WARNING: This blog entry was imported from my old blog on blogs.sun.com (which used different blogging software), so formatting and links may not be correct.
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.
Nice,
ReplyDeleteDo 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) ?
Maybe this will help you:
ReplyDeletehttp://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).
Is there a way to change the behaviour to get the text from a database instead of from a resource file?
ReplyDeleteThanks Chris