mLanguage allows you to write your blog contents in different languages.
You have only to write post, tagging each language:
eg. [de]Deutsch[/de] [en]English[/en]
For titles, you have to write as normal title inside post, the one in the language you have set as default.
Then you have only to scroll till Custom Fields and add:
key: the short tag of the language ( eg. de or en, etc ) value: the title text
Open the config Menu, you should find it in the Settings Menu. Search for the Language you want to set to default in the List an click on Edit. Now click on the Checkbox labeled 'Default Language' and click 'Update Tag'.
Open the config Menu, fill in the Form on the bottom and click 'Add Tag'.
Language Name = The full name off the Language eg. English
Language Tag = The shorten form of the language Code ( eg. de or en, etc)
Default Language = Check this if you want to make this Language to your default.
If you want to change the images or include more upload them to
They must be named
For a Default Language: TAG = First two letters of the language Code. ( eg. de, en) For Sublanguages: TAG = Full language Code in lower case. ( eg. de-at, en-us) [TAG].png for the active state. (eg. en.png or de.png) d[TAG].png for the disabled state. (eg den.png or dde.png)
Language Codes can be found here: http://babelwiki.babelzilla.org/index.php?title=Language_codes
Go to your Menu options (Appearance->Menus) and select you menu if it isn't already selected.
Now unfold the menu item you want to translate by clicking the arrow on the right side.
Change the Text from the 'Navigation Label' Field into e.g
<span class="en">EnglishTitle</span><span class="de">Deutscher titel</span> aso.
Save the item.
Now Your Menu Item should switch like everything else on the site.
If you see the text unformated in your feed, you should go to your Reading Settings and set
For each article in a feed, show« toFull text«.
You can also use feedburner, it makes the feed nicer ;)
If you updatet mlanguage and have problems on your site with the plugin, just go to Settings->mLanguage and enable `Create Feed« in every language. After you have updated your Settings you can disable it again if you want.
I saw that some templates misuse the the_title function for the anchor title value too.
The solution to this problem is very easy, you have to edit a couple of your template files ( in particular single.php, index.php and page.php ).
First of all you have to find this line:
title="Permanent Link to <?php the_title(); ?>"
and the replace with this one:
title="Permanent Link to <?php echo strip_tags(get_the_title()); ?>"
More problem is very easy to fix with a simple workaround, you have just to write a post doing this:
[de]Before more german[/de] [en]Before more english[/en] <!--more--> [de]After more german[/de] [en]After more english[/en]
Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2013-1-22
Active Installs: 1,000+
Got something to say? Need help?