ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: translate/translator task - suggestions
Date Thu, 02 May 2002 19:38:08 GMT
>IMHO, the concept of root and fallback has been
>defined nicely to follow a hierarchial beanch-2-branch
>pattern as explained in 
>http://java.sun.com/products/jdk/1.2/docs/api/java/util/Resourc
>eBundle.html

read it asap

>If you can have your XML Dictionary files follow this pattern,
>it would be peachy!  Or is there something that I do
>not follow that makes you shrug this commonly followed
>'standard'?
>
>> The fallback tag is easy to add in xml based files,
>> but how to do this in properties bundle implementation ?
>
>Using the naming of the files.

ok

>> Should we tag each bundle res with a fallback tag in
>> task properties ?
>
>Nope.  It is taken care automatically.

;)

>> The domain idea is important when you want to translate
>> a big webapp where dictionaries are splitted between
>> developpers and when you can have such fallback strategy,
>> ie some globals dictionaries and local dictionnaries.
>
>Yep, it is important...  and I assume they will end up
>being hierarchially defined ;-)
>
>Side note:
>Does your task reparse all files if the relevant 
>Config file has been changed as well?  Or does it
>reparse a generated file only if the source file is 
>newer?

No it use the standard way, but I saw in your code how
to do that ;)

BTW, why the hard-coded limitation of resource [8] ?

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message