I just remembered that the Alternative multilingual recipe required some additional code (for me at least) to allow me also to have multilingual blog entries.
For reasons which I didn't take the time to debug and find out the CMS does not show the content fields for the other language(s) when the page is a blogentry. But don't worry, here's a workaround:
In /blog/code/BlogEntry.php, in the function getCMSFields(), which is currently at line 66, add the following lines at line 78:
$fields->removeFieldFromTab("Root.Content.Deutsch","Content_de");
$fields->addFieldToTab('Root.Content.Deutsch', new TextareaField('Content_de', "De-Content"));
Of course modify the Root.Content.Deutsch to whatever language(s) you're using.
Here's the complete getCMSFields() function in /blog/code/BlogEntry.php as I'm using it here for English blog/news cleaning Thailand's waste water and here for the same BlogEntry in German Thailand's Haushalts-Abwasser reinigen, you can see at the comment in the code where the patch needs to get inserted.
function getCMSFields() {
Requirements::javascript('blog/javascript/bbcodehelp.js');
Requirements::themedCSS('bbcodehelp');
$firstName = Member::currentUser() ? Member::currentUser()->FirstName : '';
$codeparser = new BBCodeParser();
$fields = parent::getCMSFields();
if(!self::$allow_wysiwyg_editing) {
$fields->removeFieldFromTab("Root.Content.Main","Content");
$fields->addFieldToTab("Root.Content.Main", new TextareaField("Content", _t("BlogEntry.CN", "Content"), 20));
/**
* lines below added by Kalileo 2009-05-03 to make the Content fields visible
* in the other language tabs.
* For whatever reason they must NOT be named "Content", otherwise it freezes
* didn't take the time to debug it, the "other name" workaround is OK for me
*/
$fields->removeFieldFromTab("Root.Content.Deutsch","Content_de");
$fields->addFieldToTab('Root.Content.Deutsch', new TextareaField('Content_de', "De-Content"));
$fields->removeFieldFromTab("Root.Content.Thai","Content_th");
$fields->addFieldToTab('Root.Content.Thai', new TextareaField('Content_th', "Th-Content"));
/** Addon by Kalileo - END */
}
$fields->addFieldToTab("Root.Content.Main", new PopupDateTimeField("Date", _t("BlogEntry.DT", "Date")),"Content");
$fields->addFieldToTab("Root.Content.Main", new TextField("Author", _t("BlogEntry.AU", "Author"), $firstName),"Content");
if(!self::$allow_wysiwyg_editing) {
$fields->addFieldToTab("Root.Content.Main", new LiteralField("BBCodeHelper", "<div id='BBCode' class='field'>" .
"<a id=\"BBCodeHint\" target='new'>" . _t("BlogEntry.BBH", "BBCode help") . "</a>" .
"<div id='BBTagsHolder' style='display:none;'>".$codeparser->useable_tagsHTML()."</div></div>"));
}
$fields->addFieldToTab("Root.Content.Main", new TextField("Tags", _t("BlogEntry.TS", "Tags (comma sep.)")),"Content");
return $fields;
}
This is not my preferred solution, because an update of the blog module will overwrite it, but for now it works :)