Please Help! Related Posts Heading in Chinese

Jan 14, 2008 at 3:42 PM
I have no idea why this is happening. When viewing a post page, the heading that should say "Related Posts" is appearing in Chinese. I have seen a similar post to this, but it did not contain a resolution.

Why is this happening and how can I fix it? I am using BlogEngine.NET 1.2 and my language setting is set to English.

Please help!
Jan 14, 2008 at 4:13 PM
Ok, I decided to dive into the code and see what was going on. Here is the only thing I can come up with.

In App_Code\Controls\RelatedPosts.cs, the _Headline variable is getting set only once upon initial creation. If the first user to visit my site has their language set as Chinese, it will probably stay that way until that app is restarted.

Just to test, I added the following code so it gets set on each page load:

protected override void OnInit(EventArgs e)
Headline = Resources.labels.relatedPosts;

That seemed to do the trick. I am not sure how to post a new issue (if this should even should be one). Can someone please confirm this solution and add a new issue if needed?