Before I begin, I should admit that I have absolutely no experience with
internationalization, and thus no expertise. However, as part of the issue
at hand is efficiency, I'd like to address that:

Although I'm not sure what bundles are, you're likely better off keeping
them in the ServletContext, using getServletContext.[sg]etAttribute().
I say this b/c a bundle is the same for all languages, right? It doesn't
change user-to-user, or session-to-session, does it? (I'm also assuming
that bundles aren't implemented as singletons, in which case it wouldn't
matter much. I know very little about bundles.)

I don't think you'd that the need for re-compiling (when a bundle is added)
would change based on where you store the bundle. It's just an extra .class
file being added to your CLASSPATH, right? You probably won't have to
re-compile in either case.


Also, if no locale is specified in the session or user prefs, I'd use the
ACCEPT_LANGUAGE HTTP header to pick one.

LT
--
The nice thing about being a cynic is that I enjoy being wrong.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to