Try our conversational search powered by Generative AI!

Localization

Vote:
 

Hi,

I'm having some issues with translating the EPiServer.Community.Blog to various languages. Specifically the code reflected below:

internal static EPiServer.Community.Blog.Blog CreateBlog(EPiServer.Community.MyPage.MyPage mp)
{
return BlogHandler.AddBlog(new EPiServer.Community.Blog.Blog("MyPage Blog for User '" + mp.User.Alias + "'", mp.Site, new UserAuthor(mp.User)));
}

Is this really the correct way to set a default name for a blog? ;)
#36308
Jan 25, 2010 11:19
Vote:
 

Hi Kristian,

I agree that maybe the name that is set as default is not the best. However you could subscribe to the BlogAdded event in BlogHandler and do an update of the name.

Best regards,
Tom

#36720
Feb 09, 2010 7:22
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.