Send cal10n-user mailing list submissions to
cal10n-user@qos.ch
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.qos.ch/mailman/listinfo/cal10n-user
or, via email, send a message with subject or body 'help' to
cal10n-user-request@qos.ch
You can reach the person managing the list at
cal10n-user-owner@qos.ch
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cal10n-user digest..."
Today's Topics:
1. ch.qos.cal10n.MessageConveyorException (Desmond Kirrane)
2. Re: ch.qos.cal10n.MessageConveyorException (Michael)
----------------------------------------------------------------------
Message: 1
Date: Tue, 5 Feb 2013 18:41:13 +0000
From: Desmond Kirrane <desmond.kirrane@gmail.com>
To: cal10n-user@qos.ch
Subject: [cal10n-user] ch.qos.cal10n.MessageConveyorException
Message-ID:
<CABXsE+zv9XCdG4sixdBPNQHEaoCWQwT=SDwGRTW+38aU-QVxGQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm getting the following message when I log:
ch.qos.cal10n.MessageConveyorException: Failed to locate resource bundle
[Bundle] for locale [en_US] for enum type [com.mycompany.Messages]
at ch.qos.cal10n.MessageConveyor.lookup(MessageConveyor.java:115)
at ch.qos.cal10n.MessageConveyor.getMessage(MessageConveyor.java:77)
at org.slf4j.cal10n.LocLogger.error(LocLogger.java:167)
I have a default Bundle.properties in my classpath but cal10n doesn't use
it.
Everything works fine when I have a Bundle_en_US.properties.
Is there a way to tell cal10n to use the default Bundle.properties if a
suitable bundle for the Locale it requires is missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/cal10n-user/attachments/20130205/fcce32b1/attachment-0001.html>
------------------------------
Message: 2
Date: Tue, 05 Feb 2013 20:17:05 +0100
From: Michael <sgfan@gmx.net>
To: CAL10N users list <cal10n-user@qos.ch>
Subject: Re: [cal10n-user] ch.qos.cal10n.MessageConveyorException
Message-ID: <51115AB1.3010005@gmx.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Am 2013-02-05 19:41, schrieb Desmond Kirrane:
> Hi,
>
> I'm getting the following message when I log:
>
> ch.qos.cal10n.MessageConveyorException: Failed to locate resource bundle
> [Bundle] for locale [en_US] for enum type [com.mycompany.Messages]
> at ch.qos.cal10n.MessageConveyor.lookup(MessageConveyor.java:115)
> at ch.qos.cal10n.MessageConveyor.getMessage(MessageConveyor.java:77)
> at org.slf4j.cal10n.LocLogger.error(LocLogger.java:167)
>
>
> I have a default Bundle.properties in my classpath but cal10n doesn't use
> it.
> Everything works fine when I have a Bundle_en_US.properties.
>
> Is there a way to tell cal10n to use the default Bundle.properties if a
> suitable bundle for the Locale it requires is missing?
Read my post years ago:
http://mailman.qos.ch/pipermail/cal10n-user/2010-September/000020.html
------------------------------
_______________________________________________
cal10n-user mailing list
cal10n-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/cal10n-user
End of cal10n-user Digest, Vol 2, Issue 1
*****************************************