[Hawkular-dev] i18n

Thomas Heute theute at redhat.com
Wed Jun 10 06:34:01 EDT 2015



On 06/10/2015 12:11 PM, Thomas Segismont wrote:
> Two things come to my mind: logging and REST API errors.
>
> * IIUC JBoss logging supports i18n. Am I wrong?

yes AFAIk it supports it, this is why we use an ID.

>
> * Should we extend the error code pattern from logging (HAWKULAR10055)
> to error responses, and have internationalized messages for them?

Could be a good thing, but the worry is more for end-users than developers.

Thomas

>
> Le 10/06/2015 09:56, Thomas Heute a écrit :
>>
>> While we would like, we may not have full i18n by the time of the 1.0.0.GA.
>>
>> That said, this needs to be taken into account now for some aspects as
>> we don't want to have to break API or even worse do some schema update
>> to enable i18n in a later version.
>>
>> So please think of this when you deal with human-facing strings like
>> alert emails templates, some inventory or metrics metadata maybe ?
>>
>> For the strings in the UI itself, I leave it to the developer, since we
>> do frequent changes in the UI it may be faster to deal with i18n at once
>> later.
>> For the strings that are directly taken from a component it would make
>> sense to raise a JIRA if that is not i18nized yet.
>>
>> Thomas
>> _______________________________________________
>> hawkular-dev mailing list
>> hawkular-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>>
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>


More information about the hawkular-dev mailing list