I notice from looking at the code that although there's an approach
to what log implementation to use for internationalization/
localization support, there's nothing formal for creating resource
bundles. Maybe I missed it though. However, under the assumption I'm
correct, one thing I'd like to suggest to solve this issue would be
to use the resource bundle doclet that was developed by Hewlett-
Packard, and now freely available (under LGPL) from JBoss. Take a
look http://docs.jboss.org/process-guide/en/html/
internationalization.html#d0e3916 and specifically at 11.2.6
(Creating Resource Bundles). You can ignore the references to the
logger implementation because, as I said above, that seems to be
taken care of already in CXF.
This doclet has been used successfully in many of the HP NetAction
products (in 2000/2001/2002) and subsequently in the Arjuna
Transaction Service/Message Service implementations. If this looks to
be of interest, then I'd be happy to work with whoever to incorporate
the ant task that runs the doclet into the build scripts and produce
an update to the wiki page for developers to follow when writing text
that goes into a resource bundle. I know it's covered by LGPL, but I
assume that since this would only affect the building of CXF and not
something that gets shipped with the product, it should be alright to
use.
Mark.
On 6 Oct 2006, at 23:06, Mark Little wrote:
I'll take a look at the wiki page and come up to speed on that.
Thanks,
Mark.
On 6 Oct 2006, at 21:09, Daniel Kulp wrote:
Mark,
On Friday October 06 2006 3:57 pm, Mark Little wrote:
Your I18N reference got me thinking. Can someone point me at the
I18N/
L10N approach taken for CXF? What I mean is the rules and tools for
generating resource bundles and using them within the code. If
there's no solution in place, we may have an open source tool that
the project might want to consider.
There is some "older" stuff on the old Celtix wiki related to that:
http://wiki.objectweb.org/celtix/Wiki.jsp?page=Internationalization
and:
http://wiki.objectweb.org/celtix/Wiki.jsp?page=CeltixLogging
Not a lot though and what is there needs to be copied to the CXF
space.
Good question though. :-)
If you see areas in the code that aren't doing the I18N stuff,
file bugs
(or fix it).
Thanks!
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194 F:781-902-8001
[EMAIL PROTECTED]