Kees Jongenburger <[EMAIL PROTECTED]> wrote: > On Monday 10 February 2003 12:38 pm, Michiel Meeuwissen wrote: > > Rob van Maris <[EMAIL PROTECTED]> wrote: > > > Is there anyone who has experience making multilingual websites in > > > MMBase? I.e. with all content available in a number of languages? > > > I can think of a number of ways to achieve this, but I'd like to hear > > > opinions from anyone who has actually tried it. > Hi > > Part of the solution for me was to use a tag for every part of the content > someting like > <pf:ml id="hello">Hello and welcome</pf::ml> > > where "id" is a unique id > and the content of the node is de default text. > > even for images etc..
This would work fine for hard coded texts in the pages (e.g. the jsp-editors do something similar, but without a tag). But for database-content, I don't really see how this could be useful. I think the actual value of the field must serve as default and 'source' of the translation, and that translations must be stored elsewhere (the key obvisouely can be the nodenumber/field combination). Perhaps translations must even be solved closer to the core, a bit like icaches, and perhaps the bridge must pass its locale to a getValue(field, locale) of the core. Michiel -- mihxil' Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 []()
