From: Matthew B. <mat...@co...> - 2005-05-24 15:38:01
|
Alistair Young wrote: >> HTML translates all tabs, spaces and newlines into a space > > yes but a newline in a properties value breaks the properties file. web > devs use line breaks in gui editors to make it nicer to see what they're > doing. They'd have to remove all linebreaks before putting the content > in a properties value. I was meaning that you don't need the newlines in there, in the HTML world a space is the same. [..snipped..] > I mentioned tmx to test the water. It's cutting edge and groovy, yes. I'm an old fart, already listening to Radio 4 with a pair of tartan slippers, stuck in my ways ;-) [..snipped..] > what about xml properties files sitting in the classpath, one per > template, per language? If you like. I think I'm not yet convinced that anything is better than the ResouceBundle but at the end of the day it should be quite easy to move from one way of representing translations to another so happy hacking. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |