How to write multilingual posts in Enhanced BlogEngine.NET

Currently rated 4.8 by 4 people

  • Currently 4.75/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
April 3, 2009 21:39 by Jaroslav Kobližek

When I put Enhanced BlogEngine.NET on CodePlex, I forgot to write a guide on how to write localized posts. I apologize for that and here is the promised guide.

Writing of localized content is quite easy. I will describe it in several steps.

1. When your application is installed and running, log in to your administration area and go to the settings tab. The tab contains a new list of languages called Front-end languages. Using this list, you set which languages your content will be localized in. By default, the application is set to English and Czech.

First, select languages you would like to use in your blog. This list does not interfere with the language of administration area which is selected in the combo box above.

Enhanced BlogEngine.NET settings tab with a list of languages

In the next step, we will take a look at how to insert a new post.

2. Click on "Add entry" tab. You'll get to the page where there is a list of languages at the top. This list is used in other tabs as well (Pages, Categories and Ping Services). Now, click on a language which you would like to use to write your new post in. I selected English in our example. Fill in the form and save the post. Notice that Categories and Tags are localized!

Enhanced BlogEngine.NET post tab

3. BlogEngine will redirect you to the post. You won't notice any differences to the original engine yet, but the URL is slightly different now.

First part of new localized post in public area (English)

4. Now, click on the "Edit" link, because we need to edit this post in different language. After clicking the link, you'll get back to the administration area to your post, but now click on a different language. Fill in the form and click Save. In our example I selected Czech language.

Enhanced BlogEngine.NET post tab in Czech language

5. BlogEngine will redirect us again to our post. Now, the post has an additional information that tell us about availability of this post in other language.

Second part of new localized post in public area (Czech)

That's all and have fun with multilingual writing.

Note: For pages use the same steps. For categories and ping services switch between languages only.