WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Lilith Glocalization

Lilith Glocalization provides two simple ways to display post or page in multiple languages.

Lilith Glocalization supports two methods.

  • Block method

<div id="hello"> <p class="g11n-lang-fr g11n-content g11n-hidden">Bonjour tout le monde !</p> <p class="g11n-lang-fallback g11n-content g11n-show">Hello world!</p> </div>

The script detects the language of the browser to load the page and show the translation without user intervention. We can also buid language switcher.

"fr" ("g11n-lang-fr") corresponds to the target language. The code of a target language must correspond to ISO 639-1. "fallback" is the default language: it appears if the content of the target language is not available.

  • In-line method

<p id="hello" class="translate-g11n" data-g11n-fr="Bonjour tout le monde !">Hello world!</p>

"fr" ("data-g11n-fr") corresponds to the target language.

Glocalization

You can see a demonstration and find tutorial on Glocalization.

Requires: 3.0.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-15
Downloads: 69

Ratings

0 stars
0 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.