ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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
>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 ...)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message