cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: [C2] Sitemap and multilanguages
Date Sat, 09 Dec 2000 15:38:35 GMT

--- Giles Paterson <gpaterson@silacom.com> wrote:
> Okay this is a query about using C2 but this seems to be the most
> appropriate forum for such  questions...
> 
> I have a desire to produce a multilingual website but I am not sure
> the best
> way to progress with cocoon2.
> 
> We have a site running under cocoon2 quite happily and I thought the
> best
> way to multilingualise it would be to use the sitemap to match on the
> browser locale in a similar manner to the way you can get it match on
> the
> user agent and use the appropriate language-specific xml file. Okay
> this
> means having separate xml files for each language but for a lot of
> languages
> (as we will have) I believe that is better than one xml file with
> multiple
> languages within it.
> 
> 
> If we weren't to match on the locale, would it be possible to match
> on a
> cookie or URL parameter (e.g. lang=fr)?
> 
> Does anyone have any suggestions/examples as to the best way to
> proceed?
> 
> If it requires writing a new Factory (i.e. LocaleSelectorFactory)
> then I'm
> not adverse to doing it.

There has recently been a discussion about a I18NTransformer to be
integrated into C2. On the infozone-group list (Prowler) we are
discussing a proposal how dictionaries are specified together with use
cases. 

More news about it on this list will come soon.

Giacomo

=====


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message