<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>please help me with this as i am sure, i misunderstand something.</div><div>Similiar topics on the cal10n mailing list have not been answered which is why i am posting here.</div><div><br></div><div>We use cal10n to localize logging messages and would like to have a structure where there the following bundles:</div><div><br></div><div>messages.properties</div><div>messages_de.properties</div><div>messages_fr.properties</div><div>...</div><div><br></div><div>What we expect is for cal10n to select messages_de.properties for german locales, messages_fr.properties for french locales and the default bundle messages.properties (which contains the messages in english) for all other locales.</div><div><br></div><div>This works fine as long as the user has a german or french system but fails on all other locales. </div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">MessageConveyorException: Failed to locate resource bundle [org.example.foo] for locale [en_UK] for enum type [org.example.Messages]</div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; ">The default bundle is never chosen. Isn't there a fallback mechanism or a way to define a default resource bundle that will be chosen when no supported one is found.</div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">We probably misunderstand something here, because otherwise the use of cal10n would result in programs to only work on supported locales, requiring lots of localization files.</div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">How can we get cal10n to fall back to a default locale?</div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">Thanks,</div><div style="margin: 0px; ">Johannes</div></body></html>