[WM] multi language support?
Chris
ckolumbus.gmx.de
Fri Nov 9 08:15:02 GMT 2001
Hi,
On Thu, Nov 08, 2001 at 08:48:47PM +1100, Justin Mason wrote:
>
>
> I was considering this: adding "output sets", so that a set of <out>
> blocks are grouped together as a related set. Then the "main url"
> for a page, is the url it appears in that set; regardless of where
> it appears for other sets.
Sounds good. One should be able to refer to contents url in other "output
sets". These sets can also hold the information about the current output
language. (Just writing down my thougts on this subject :-).
>
> > Another idea besides introducing that specieal character "!" might be to have
> > another attribute for the meta tags (e.g. lang :-). What do you think?
>
> makes sense -- but I would suggest turning it into a suffix to the
> metadata-name string, internally. You could for example convert
>
> <wmmeta name=title value="foo" lang=en />
>
> into a metadata content item with a key (ie. name string) of
> 'foo.title##LANG=en' (also a copy called 'this.title##LANG=en' as well),
> internally.
Seems to be an easy and clean way, yes.
>
> Also you would need to keep copies called 'foo.title' (as before).
What content should it return? Should it depend on the language setting or
always return some kind of default value? To me it makes more sense to
make the return value dependent on the actual settings.
By for now, I have to rummage your source ;-).
Chris
More information about the Webmake-talk
mailing list