You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org> on 2008/04/25 13:01:55 UTC

[jira] Commented: (TUSCANY-2261) Default monitor failure if bundle for local not found

    [ https://issues.apache.org/jira/browse/TUSCANY-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592342#action_12592342 ] 

Ramkumar Ramalingam commented on TUSCANY-2261:
----------------------------------------------

By default the default resource bundle is being by the JDK logger, it means we just need to have the .properties file without any _en (locale) mentioned in it. This way whatever locale is used, we will get some english messages displayed.

So we don't require any patch here.... what we only need is a non_locale property file.

> Default monitor failure if bundle for local not found
> -----------------------------------------------------
>
>                 Key: TUSCANY-2261
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2261
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.2
>         Environment: WinXP SP2, IBM JDK 1.5
>            Reporter: Simon Laws
>            Assignee: Ramkumar Ramalingam
>             Fix For: Java-SCA-Next
>
>
> Would like the default logging monitor to use a default resource bundle if it can't find the one it requires for the locale, i.e. it would be good if it didn't fail trying to write out a warning for people where we haven't translated the messages. 
> This may be as easy as just providing a default bundle with no locale or may be a few code changes. haven't had chance to look at it yet. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (TUSCANY-2261) Default monitor failure if bundle for local not found

Posted by Simon Laws <si...@googlemail.com>.
On Fri, Apr 25, 2008 at 12:01 PM, Ramkumar Ramalingam (JIRA) <
tuscany-dev@ws.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/TUSCANY-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592342#action_12592342]
>
> Ramkumar Ramalingam commented on TUSCANY-2261:
> ----------------------------------------------
>
> By default the default resource bundle is being by the JDK logger, it
> means we just need to have the .properties file without any _en (locale)
> mentioned in it. This way whatever locale is used, we will get some english
> messages displayed.
>
> So we don't require any patch here.... what we only need is a non_locale
> property file.
>
> > Default monitor failure if bundle for local not found
> > -----------------------------------------------------
> >
> >                 Key: TUSCANY-2261
> >                 URL: https://issues.apache.org/jira/browse/TUSCANY-2261
> >             Project: Tuscany
> >          Issue Type: Bug
> >          Components: Java SCA Core Runtime
> >    Affects Versions: Java-SCA-1.2
> >         Environment: WinXP SP2, IBM JDK 1.5
> >            Reporter: Simon Laws
> >            Assignee: Ramkumar Ramalingam
> >             Fix For: Java-SCA-Next
> >
> >
> > Would like the default logging monitor to use a default resource bundle
> if it can't find the one it requires for the locale, i.e. it would be good
> if it didn't fail trying to write out a warning for people where we haven't
> translated the messages.
> > This may be as easy as just providing a default bundle with no locale or
> may be a few code changes. haven't had chance to look at it yet.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
Thanks for that Ram. I'll just go in and remove the "_en" from the
properties files that we have and leave the "_it" ones. That way the default
will be english and the we won't get an exception when the requested locale
is not found.

Simon