Page 1 of 1

Multilingual articles: header in entry shows default lang

Posted: Thu Jul 21, 2005 5:08 pm
by randulo
Hi,

I got this far before I thought it'd be better to ask here:

{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}

I sense this is what is showing the header, including title. The title of an article in several languages is always shown in the original language. Is there a way out of this?

thx

Re: Multilingual articles: header in entry shows default lan

Posted: Fri Jul 22, 2005 11:40 am
by garvinhicking
This is a very tough thing to modify, as the multilingual plugin fetches the translated title too late in queue so that it is not yet available when the header is shown.

One would need to

$serendipity['smarty']->assign('head_title', 'translated title')

in the plugin itself...

Regards,
Garvin