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

Description

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.

FAQ

=

Changelog

0.1

  • Initial release.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Browse the code