ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: how to deal with localised properties?
Date Thu, 27 Nov 2008 12:49:42 GMT
>If i want to load different properties file depending on the 
>locale how is this handled? Basically, does ant support the notion of a
java 
>resource bundle?

AFAIK there is no direct support for that.
If you can get the current locale into a property you could load the
file with
   <property file="messages_${locale}.properties"/>

Because I havent worked with I18N I cannot say anything to loading
Locales ... 
(maybe can see something in the docs ...)


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message