we've discussed it already and agreed on waiting for Matej to come up with a first draft to proof that the idea works, and it obviously does very well.
But I guess I'm the only one, who thinks there must be a better solution. I guess the reason why I'm not especially keen on the idea is because it'll allow users to insert not only text but basically everything (html, javascript, etc.) in there. You may use it for localizing text, but you can basically use it for several more. It is not limited to attributes or tag, not even to (x)html. It is a templating engine providing the markup to wicket. You can do includes, you can convert from XUL to HTML (just an example, not sure this is realy possible). I do like the templating approach as part of that larger picture (templating engine providing markup or the commons virtual file system providing the markup), and yes it does provide a means for localization as well. It'll than be one of several approaches for localization (depending on the reqs one might fit better than another). Localization is a very important topic and I believe Wicket should have a wicket-like solution without the need for a syntax like $(xxx.yy) which feels (just my gutt feeling) like a debris (looked it up in a dictionary: foreign body) in the wicket context. Juergen On 7/23/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > i also like the idea that you have one html file, X number of property > files and then at load time of the markup file > for a specific locale the property file for that locale is merged in to > the html. And that html is stored for that locale in the cache. > At least i think tht is the complete idea? > > What does juergen say about this? Shouldn't be to hard to implement i > think. > > > Matej Knopp wrote: > > Hi. > > > > I've made a demo showing internationalization using only one html file > > (instead of one for each language) with syntax like > > > > $(prefix=Page1) > > <html> > > <body> > > $(foo.bar) > > </body> > > </html> > > > > and property files containg the strings that looks like this > > Page1.foo.bar = Foo Bar String > > > > I think it's quite handy and I would be nice if wicket had something > > like this by default. > > > > source code: http://knopp.sk/WicketI18N-src.zip > > war: http://knopp.sk/WicketI18N.war > > > > (It's a modified form input example. I've removed the graphic buttons > > and made a classic submit button instead to demonstrate, that it's > > also possible to translate tag attributes.) > > > > -Matej > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user