xLanguage (Wordpress Plugin)

Monday, January 21st, 2008 Chinese Cantonese

A WordPress plugin that allows you to blog in multi-language, and users to select which to read. If your want to localize and present your blog in different languages (totally with title, rss, categories working, not just the post) and allows visitors to pick the language they want, this plugin is for you.

xLanguage allows you to blog in different language, and allows user to select which version to read. It works for blog post, page, tags, categories. The user language preferences will also select the right theme and plugins MO files.

Customization is the No. 1 design goal, after all that’s probably the reason why you want to setup a multilingual blog. The language configuration combination is highly customizable to facilitate multiple fallbacks. Every UI is extracted out, which could be optionally overridden by theme design without touching the plugin file at all.

This plugin works by inserting W3C standardized <span lang=”..”> tag in the post content, and a XML parser will be involved to extract them when served, extracting all elements with the matching lang=”..” tag. The permalinks and RSS feeds are also presented correctly. For single line data such as post title, a special but simple syntax is introduced.

The language preference is detected from browser’s preferences, as well as from Cookie if user visited before. Widget and template functions are also provided to allow user to switch the language easily.

Please read on for the installation, complete usage guide, screenshots, comparisons and known problems. If you found this plugin useful, please consider supporting it.

Please feel free to let me know if you need additional template functions, or if you have any idea that could make this a even better plugins for you.

Notice

If you hit the following error message after installation:

can not redeclare class xLanugagePlugin on line 996 in xlanguage.php

Resetting the xLanguage configuration would help. To do that, please go to “Settings -> xLanguage -> Options” in the Admin control panel, Scroll to the very bottom and reset it.

This is a known problem but I can never reproduce this so have no idea how to fix it. Any volunteer in helping me is very welcome!

Change Log

v1.3.3 (r44242)

  • #9 is regressed causing xLanguage installation dead on arrival. Now fixed together with #10.
  • This new version should solve the v1.3.2 installation problem.

v1.3.2 (r44032)

  • #9 is fixed - xLanguage should be usable in WP-MU now.

v1.3.1(r43326)

  • #8 is fixed - The static homepage bug introduced in v1.3.0.

v1.3.0 (r42456)

  • New feature #4 is implemented. In addition, to http://example.com/page/something/lang/en, now it could be http://example.com/lang/en/page/something.
  • No other bug is fixed.

Licensing

CC-GNU GPL

This plugin by Sam Wong is licensed under the CC-GNU GPL.

Latest news available in category xLanguage (WordPress)

302 Responses to “xLanguage (Wordpress Plugin)”

Pages: « 3124 23 22 [21] 20 19 181 » Show All

  1. 210
    james Says:

    have you had the chance to test with WP 2.6?
    Cheers

  2. 209
    Robert Lenz Says:

    ok, ok… i don’t want to spam your blog. :-)

    last problem solved, too. i had to reset the xlanguage options. and that was that!!

    hope to put your plugin in good use.

    thanx for your plugin! :-)

    robert

  3. 208
    Robert Lenz Says:

    problem solved. i had to reinstall wordpress myself instead of using the default install from my host.

    but now… i got a new problem:

    Fatal error: Cannot redeclare class xLanguagePlugin in
    (…) /wp-content/plugins/xlanguage/xlanguage.php on line 996

    already 2 people here with the same error. i’m on 2.5.1 and using your plugin 1.3.3

    any chance you could help…?

    robert

  4. 207
    Robert Lenz Says:

    hi there,

    after adding a third language, i got this message:

    *
    Warning: Invalid argument supplied for foreach() in (…)wp-content/plugins/xlanguage/xlanguage.php on line 845

    Fatal error: Cannot unset string offsets in (…)wp-content/plugins/xlanguage/xlanguage.php on line 865
    *
    my wordpress-installation stopped working and i was forced to delete the plugin. after a reinstall i tried to activate the plugin again… but still recieve the same error message.

    any chance to fix this… ?

    robert

  5. 206
    gadgets Says:

    good plugin
    will have to try
    thanks

  6. 205
    matilda Says:

    I look forward to putting this plug in to good use. Thank you.

  7. 204
    Buy trex Helicopter Says:

    O this is such a great plug in. Wow. Wondering if there are a few more languages supported by this but anyhow getting this plug in :)

  8. 203
    Chad Says:

    This looks like are great multi language plugin, I have a couple of blogs that I want to add spanish to, so I am going to give this plugin a shot. Thanks

  9. 202
    darren alexandria invisalign Says:

    This looks like a very nifty plugin to have. I don’t do anything other than in English but believe that my foreign friends might be interested in checking this out. Will point them here.

  10. 201
    rg Says:

    After reading through the posts and experimenting with the other multilanguage plugins their seems to be a limitation on all the multilanguage plugins and that is the ability to hide posts that are not in the selected language. So if I have a bi-linguagl blog and language A has 100 posts with only 5 translations in language B, when switching to language B it is going to list all 100 posts with 95 that say “unavailable” versus just the 5 posts that have translations.

    Am I missing something here? hopefully so, because I’d love to use this… Please help! thank you for the fantastic plugin.

Pages: « 3124 23 22 [21] 20 19 181 » Show All

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting