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
Multilingual articles: header in entry shows default lang
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Multilingual articles: header in entry shows default lan
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
One would need to
$serendipity['smarty']->assign('head_title', 'translated title')
in the plugin itself...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/