Hhmm was a while ago that we implemented it but the just of it is as follows:
1. Add (if not already present) following pull tool to Turbine properties file tool.request.l18n=org.apache.turbine.services.localization.LocalizationTool 2. Resource bundles should be present under classes directory, named according to specs, ie "en_GB.properties" and contain key/values 3. Set default localization settings to reflect names of resource bundles 4. In template text can be accessed by using one of the following $!l18n.get($fooKeyVariable) $!l18n.fooKey Look at the Turbine Javadocs for the Localization stuff, we could set a default language, browser selectable or user defined. HTH /c ----- Original Message ----- From: "Xavier Ottolini" <[EMAIL PROTECTED]> To: "Turbine Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 10:01 AM Subject: Re: Architecture Question > Hi Colin, > > Could you give us some details about how to use the localization service > ?. Where do you write the labels for every language ? How do you access > to the file ? How do you read thoses labels ? > > Thank you, > > Xavier > > Colin Chalmers wrote: > > >We have built an app. for two languages; Dutch & English. > > > >We use one set of templates and the localisation service to present the > >text. Works a treat! > > > >/c > > > >----- Original Message ----- > >From: "pavel" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Wednesday, February 05, 2003 8:46 AM > >Subject: Architecture Question > > > > > > > > > >>Hello, > >>We are building a small app that is in 9 languages and we may get huge > >>traffic. Would there be any benefit of running those in separate > >>Turbines, or is it better to have them all in one. Also would you > >>consider having separate Tomcats for each? My thinking is that > >>distribution of the load in more containers would help and could make it > >>more robust but on the other hand more memory would be required. What do > >>you think? > >> > >>Thank you. > >> > >>Pavel Kusch > >> > >> > >> > >> > >> > >>--------------------------------------------------------------------- > >>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] > > > > > > > > > > > --------------------------------------------------------------------- > 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]
