Recently I have been working with a French professor who had been playing around in Blogger, and was thinking abut using a blog in his class. I got to see some of the finer features in Blogger, and I really liked the fact that this professor could choose the default language for administrative backend and theme. So after we talked, I decided to see how easy or hard this is for WPMu given I had never tried it. Well, it’s simple to have one WPMu install support different default languages on a blog-by-blog basis.
- Create a languages folder in in the wp-content folder.
- Search the “WordPress in Your Language” Page on the Codex for the languages you want.
- Once I found the languages I was interested in—Italian, French, Spanish, and German for now—I went to the WordPress download site and got a copy of the latest download in each language. For example, here is WordPress 2.6 in Spanish.
- Once I downloaded it, I went to the wp-content/languages folder in the WP 2.6 files in Spanish and grabbed the following file es_ES.mo.
- I then proceeded to grab a similar set of files for Italian ( (it_IT.mo)), French, (fr_FR.mo), German (de_DE.mo), by going to the 2.6 download for the latest WP install released in that language.
- After you collect the *.mo files for the languages you want, copy them into the wp-content/languages folder created on your blog and that’s it.
- You can now select the default language for any given blog from one of five options in the Settings–>General tab.
Everything should be this easy The Hery-Dev blog has a plugin that simplifies this feature by including a system related to the languages available. There are a few things I don’t like about this new plugin as it stands now:
- It gives you no way to return to the default language ( in this English) once you’ve selected another language it
- It doesn’t actually changes the Bog language feature in the Settings. The default settings remains in the Settings’–>’Options’ page.
- The straight-up language selection tool in the Settings tab is pretty damn easy to begin with.
All that said, it’s pretty cool that foreign language professors and students have the ability to choose their language as they see fit.Here are the four *.mo files I am using if you want to test drive this for WPMu 2.6.
Finally, not all themes will work with this option on the front end, but I will try and pinpoint those that do. Seems like Sadish’s CityScape does, so I imagine a number of his others themes might as well—which is a damn good start.