WordPress.org

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.

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.15
Last Updated: 3 years ago
Active Installs: Less than 10

Ratings

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.