you have to program that yourself. that is not somethign wicket or a framework can do
On Jan 25, 2008 3:40 PM, Steve Thompson <[EMAIL PROTECTED]> wrote: > On 1/25/08, Michael Sparer <[EMAIL PROTECTED]> wrote: > > > > steve, > > > > wicket by default checks the user's locale (i.e. the locale of the > session) > > and looks for matching files. e.g. if your user accesses Foo.html with > the > > german locale "de" wicket checks whether there is a Foo_de.html (and/or > > Foo_de.properties) file existing. > > Have a look at > http://cwiki.apache.org/WICKET/general-i18n-in-wicket.html > > > > Thanks for the link Michael. Unfortunately, this doesn't really > address my issue. Let me explain it a bit better. > > I have a client that has a page consisting of a number of terms and > definitions, akin conceptually to a dictionary. What the client wants > is for each term to possibly be shown in a number of different > languages. So picture if you will a bunch of flags associated with a > particular term. If I click on the French flag, I see not only the > default locale version of the term and its definition, but also the > French as well. Likewise, if I then click on the Chinese flag, I'm > looking at the term in three languages. > > My issue is that support for locales will be an incremental thing; > while I have produced the English version of the terms and > definitions, the client can come up with support for other languages > at their leisure. As this is the case, I would like to make this > support as intelligent as possible, which means that the application > should be able to detect when there is a new property file (Spanish > say) and automatically offer support for it on the page. > > I'll be the first to confess that to me, this sounds like an unusual > scenario. If it can't be done in a clean fashion, I am open to other > suggestions as well. > > Thanks and best regards as always, > > > Steve > > -- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
