Hi Antoine, With maven1, the translation is based on Jelly tags. So using HTML content in bundle provides HTML result (ie <b> will be transform to <b>) Thus, your solution sounds the pretty way.
Cheers, Vincent 2005/6/21, ahgt sur laposte.net <[EMAIL PROTECTED]>: > Hi, > Just starting with maven. Looks great. > I've build up a maven project with site generation, with two languages. > Using "key=blabla", to get the translation text from properties file > xdocs_fr.properties, is ok,... > But is there a way to put html tags in it ? > > I understand that it is not really nice to mix content and format, but, > for a sentence like : > > First, download the <b>User Guide</b> from <a href="...">the download > page</a> > > It is a lot of work to set 4 keys, one for each mini piece of text. > > Any other way to do this ? > > I thought may be the translation texts could be in XML file, allowing > some XHTML piece of texte.... > This would allow this convenient way, letting to the user the > responsibility of mixing text and presentation, no ? > > Thank you for help, > Antoine > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]