ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rees <d.ree...@usa.net>
Subject Re: [DISC] misc
Date Sun, 01 Apr 2001 21:19:41 GMT
On 30 Mar 2001 09:38:55 +0200, Stefan Bodewig wrote:

>Stephane Bailliez <sbailliez@imediation.com> wrote:
>
>> What has to be internationalized in Ant ?
>
>Error messages created by the core, provide some utility classes to
>make internationalized error messages easy for task writers (could
>have some overlap with Struts or Turbine).
>
>And I'd love to see things like <echo> and <fail> extended to support
>multiple messages, something like
>
><fail>
>  <message lang="en">We need JMF to compile, please install it.</message>
>  <message lang="de">Bitte installieren Sie JMF.</message>
></fail>
>

I would rather seen this done as the include of a sub-build file that
defines properties for the messages. For a given location they can
just swap messages.xml files. That is closer to how you would do it in
actual code as well.


>This is what came to my mind first. Probably have localized
>description elements for targets as well (so that -projecthelp can
>give different results).
>
>I would not want to change the names of target or something similar.
>
>Stefan


Mime
View raw message