I'm working in an site (http://distro.conectiva.com.br) already Midgard-based
(1.2.5) with success until now.
We are internacionalizing it now, and we have 2 different problems:
- static content, ie, page elements;
- dynamic content, ie, topic/articles;
The static content is my problem now:
I was thinking in this pseudo-code:
<?
$page = mgd_PAGEMYSELF(); // is there a way to recover the name of the actual page
element?
$newpage = $page ."_". $lang; // say, $page == "foo", and $lang can be "pt_BR",
"en", "es", and so on.
$newpage_ob = $mgd_get_pagebyname($newpage);
echo $newpage_ob->content;
?>
or, perhaps, an active page which execute static pages?
--
Sergio D. Bruder
[EMAIL PROTECTED], [EMAIL PROTECTED]
------------------------------------------
http://www.conectiva.com.br
http://sergio.bruder.net
http://pontobr.org
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]