Pascal Mayer wrote:
 Hello

 okay, we'll be patient! :)

We have also tested the multilang feature. We created a MidCOM Site
and then set the lang field of the created host for testing purposes.
But now we get the following error:


Failed to list Snippets in /de/linkm/taviewer/_midcom : MGD_ERR_OK


 It seems that *all* localizable objects must have a corresponding
 lang content if the lang is set for a host.

 Is it possible to set a "trigger" that if no localized content exists
 for an object, the lang=0 content will be loaded? Or is multilang not
 (yet) compatible with MidCOM?


do mgd_set_lang(0) before listing and mgd_set_lang($current_language) to fetch the localized content afterwards.


 Actually we would also need topic_i tables since our cms solution
 uses topics as content-pages and articles are just parameters of that
 page. Unfortunately we are not c-programmers and cannot contribute
 it... Are there any plans to support multilang also for topic
 objects?


yes, and it wouldn't be that hard. but i guess it wouldn't be a good idea to introduce yet another variant of the database structure at this time, and i wonder if extending midgard 1 still makes sense, too.


David

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



Reply via email to