WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Multilingual Text

With this plugin you can have a text in multiple languages. Easy to use, no requirements.

Requirements:

  • WordPress 2.7+
  • PHP 5.2+

Installation:

  1. Use the 'Plugins/Add New', or extract the archive into the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. See the configuration in the 'Settings/General' menu

Flags (optional):

  • Use the flags in '/wp-content/plugins/multilingual-text/flags/' or create a new directory, place your flags there, and specify it in the config (it's not recommended to place your flags in the plugin's directory because those will be overwritten on update)

Theme Modifications (optional):

  • Flags on title: place a <?php Multilingual_Text::Flags(); ?> in front of the title, or where you like to have the flags
  • Multilingual title: replace the <?php the_title(); ?> with <?php Multilingual_Text::Title(); ?>, this can't be done automatically because some titles (like the <title> or other <meta> elements) do not support switching

Widget (optional):

  • You can place a widget to switch between the languages, in this case you can disable the flags on text/title. You have to enter the name of all languages which will be showed.

Custom usage:

  • I you want to use the Multilingual-Text Engine for your own text, you can do so.
  • Multilingual_Text::Parse(string $text [, bool $with_flags = true [, bool $with_text = true ]] ) will parse the text (ml-style) and returns the generated code.
  • With the two options $with_flags and $with_text you can control wether flags and/or text will be returned.
  • The generated code will only be returned, so you have to echo it - or process it anyway.

Requires: 2.7 or higher
Compatible up to: 3.2.1
Last Updated: 2011-9-21
Downloads: 7,566

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
50,2,1
100,1,1 100,1,1 100,1,1
100,1,1
67,6,4 33,3,1 86,7,6
100,1,1
100,1,1
100,1,1
100,1,1