Re: Dynamic Locale Directive Changes
Stefan Hornburg <[email protected]> Tue, 4 Mar 2003 13:34:30 +0100
| Newsgroups | gmane.comp.web.interchange.internationalization |
|---|---|
| Organization | LinuXia Systems |
| Message-ID | <[email protected]> |
On Mon, 03 Mar 2003 21:55:45 -0800 Kirill Sapelkin <[email protected]> wrote: > Hello, > > Am trying to change the DescriptionField to title. I added: > > Locale ru_RU DescriptionField title > [LC] > [ru_RU] > [/LC] > to the pages/results.html but it still prints the (default) > description field. That ain't going to work. You really added the Locale line to pages/results.html ? To change the locale within a page, try the [setlocale] tag. > > We would like to have a bilingual interchange homepage and would > like results.html to select either description or title depending on whether we > picked english (going through index.html) or russian (going through > inderu.html) conditionally. Also perhaps create another field in > products like comments only in russian and have that also selected > instead of regular comments field if we picked russian. Use setlocale with persist=1 to change the locale in the user's session. > > Is There a CommentsField directive? > No. With Interchange 4.8, you need to use a workaround for that. Interchange 4.9 provides the shadow database, which would help you there. Bye Racke