You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Mark Little <ma...@jboss.com> on 2006/11/02 15:35:32 UTC

Re: I18N and L10N stuff...

No feedback must mean everyone is happy ;-)

I'll take a look at this the week after next when I get back from  
SCUBA diving in the Red Sea :-) and my broken machine is fixed :-(

Mark.


On 26 Oct 2006, at 23:36, Mark Little wrote:

> Owing to server outages, this seemed to get lost first time round.
>
> Mark.
>
>
> On 23 Oct 2006, at 18:47, Mark Little wrote:
>
>> 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
>>>> daniel.kulp@iona.com
>>

Re: I18N and L10N stuff...

Posted by Mark Little <ma...@jboss.com>.
Hi Dan. I'll look into that when I get back.

Mark.


On 2 Nov 2006, at 20:21, Daniel Kulp wrote:

>
> Mark,
>
> I had sent a note to Cliff asking if it was OK.   I haven't heard back
> from him.   I'll re-send.
>
> That said, to be usable, we'd need it to basically be a maven 2 plugin
> preferrably, but at the very least, have it available in the maven2
> repositories.   If you could figure out how to get it callable from
> maven, that would be great.
>
> Dan
>
>
> On Thursday November 02 2006 9:35 am, Mark Little wrote:
>> No feedback must mean everyone is happy ;-)
>>
>> I'll take a look at this the week after next when I get back from
>> SCUBA diving in the Red Sea :-) and my broken machine is fixed :-(
>>
>> Mark.
>>
>> On 26 Oct 2006, at 23:36, Mark Little wrote:
>>> Owing to server outages, this seemed to get lost first time round.
>>>
>>> Mark.
>>>
>>> On 23 Oct 2006, at 18:47, Mark Little wrote:
>>>> 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=Internationalizatio
>>>>>> n 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
>>>>>> daniel.kulp@iona.com
>
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194   F:781-902-8001
> daniel.kulp@iona.com

Re: I18N and L10N stuff...

Posted by Daniel Kulp <da...@iona.com>.
Mark,

I had sent a note to Cliff asking if it was OK.   I haven't heard back 
from him.   I'll re-send.

That said, to be usable, we'd need it to basically be a maven 2 plugin 
preferrably, but at the very least, have it available in the maven2 
repositories.   If you could figure out how to get it callable from 
maven, that would be great.

Dan


On Thursday November 02 2006 9:35 am, Mark Little wrote:
> No feedback must mean everyone is happy ;-)
>
> I'll take a look at this the week after next when I get back from
> SCUBA diving in the Red Sea :-) and my broken machine is fixed :-(
>
> Mark.
>
> On 26 Oct 2006, at 23:36, Mark Little wrote:
> > Owing to server outages, this seemed to get lost first time round.
> >
> > Mark.
> >
> > On 23 Oct 2006, at 18:47, Mark Little wrote:
> >> 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=Internationalizatio
> >>>>n 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
> >>>> daniel.kulp@iona.com

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194   F:781-902-8001
daniel.kulp@iona.com