Translate to Portuguese

Topics: ASP.NET 2.0, Controls
Mar 5, 2009 at 7:03 PM
How to translate messages from the BLOG for the Portuguese? "Calendar" to "Calendário" for example.
Coordinator
Mar 5, 2009 at 7:16 PM
On the settings tab in the control panel, you should change the language to Portuguese, if you haven't already.

For the calendar, if you're logged into your blog, in the top right corner of the Calendar widget, you should see an "Edit" link.  If you don't see that link, then go into the widget.ascx.cs file in the widgets\Calendar folder.  In widget.ascx.cs, you'll see:

public override bool IsEditable
{
    get { return false; }
}

Change "return false" to "return true".  After doing this, you should get an "Edit" link in the top right corner of the Calendar Widget.

When you click the "Edit" link, at the top of the edit window, you can change the Title.
Mar 5, 2009 at 7:46 PM
Cool.
Thanks for the tips. I'm starting to learn .Net now and caught the BlogEngine for use and I like very much.

I'm using it on my site www.solution4web.net