Andreas Hartmann wrote:
> Jörn Nettingsmeier wrote:
>> hi *!
>>
>> i'm running lenya 1.4 and making heavy use of the i18n features.
>> all ordinary documents are available in both english and german, and i
>> have a language link that allows users to switch.
>>
>> a number of pages are dynamically generated from a database, and the
>> data they present is suitable for both languages. all labels etc. are
>> <i18n:text/> and handled with appropriate catalogue entries.
>>
>> the problem is: how do i best tell lenya that a document is
>> multilingual, i.e. that it should respond to all languages and report
>> all languages as being available?
> 
> You have to create all language versions. In your case, they will
> probably trigger the same database call.

bad luck...
maybe that's a reason not to encode the language in the file name in
future versions. if it were in the metadata, creating multilingual docs
would be as simple as saying lang="de en fr zh" or lang="all"...

dynamic content will always be somewhat orthogonal to lenya's document
handling, but it would be nice if one could use i18n based on the
i18ntransformer and catalog files in arbitrary document types.



-- 
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
        - Ásmundur Sveinsson (1893-1982)

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to