Re: XML properties files - brainstorm

Posted by David E Jones on
URL: http://ofbiz.116.s1.nabble.com/XML-properties-files-brainstorm-tp185922p185949.html


On Nov 26, 2007, at 3:44 PM, Adrian Crum wrote:

> David E Jones wrote:
>> 2. there is no way to configure the default locale without  
>> renaming  properties files (ie what if someone wants it_IT to be  
>> the default  locale instead of en_US so that if no locale is  
>> specified that is what  will show up, as if the properties file  
>> with no locale suffix had the  Italian labels)
>
> Have you seen an example of this? The UtilProperties.getMessage(...)  
> methods throw an exception if you pass a null Locale object.

I can see how the sentence would be confusing, especially not in the  
context of what was in the parenthesis.

The is not the default locale for the system, but the default locale  
to use when there is no properties file for the locale specified.

-David


smime.p7s (3K) Download Attachment