xili-language plugin : release 2.1

xili-language lets you create and manage a WP website in multiple languages with yours or most famous localizable themes. xili-language provides for a bilingual (or multilingual) website an automatic selection of language (.mo) in theme according to the language of current post(s) or page. Theme’s behaviour can be fully personalized through hooks and api. Ready for CMS developers and designers. Please visit this documented demo site !

Logo xili-languageLogo xili-language

xili-language plugin provides an automatic selection of language in theme according to the language of one post. xili-language use on the fly the .mo files present in the theme’s folder.

  • xili-language plugin provides an automatic selection of language in theme according to the language of displayed post, series of posts, page or articles. If the post is in gaelic, the texts of the theme will be in gaelic if the author checks the post as gaelic and if the theme contains the right .mo file for this target language.
  • xili-language select on the fly the multilingual .mo files present in the theme’s folder.
    Themes with localization can be easily transformed for realtime multilingual sites.
  • NEW: With now WordPress 3.0, the default theme named twentyten can be used without php coding for a multilingual site as shown here. xili-language plugin works on mono or multisite mode.
  • xili-language is also dedicated for theme’s creator or webmaster with knowledges in CMS and WP and having (or not) tools to create .mo language files. Through API (hook), the plugin add automatic tools (or links or filters) for sidebar or top menus. Categories or Archives lists are translated also.
  • xili-language provides also series of functions which can be hooked in the functions.php file of the theme that you create i.e. for a cms like multilingual website.
 
 
xili-language: posts series for experts
  1. xili-language plugin : release 2.1
  2. Q&A about xili-language plugin, release 1.1
  3. xili-language : hooks, filters, class and so on...
  4. From a theme with localization to a multilingual theme with xili-language : technical and general notes.
  5. xili-language - 1.4.1 - new libraries
  6. Xili-language toolbox in one table
  7. xili-language and the time
  8. xili-language : Affichage des dates et heures
 
 
 
xili-language: posts series for authors
  1. xili-language plugin : release 2.1
  2. xili-language: a helpful shortcode
  3. [updated] Publishing in multiple languages. Benefits, tips and tricks with wordpress and xili-language plugin.
 
 
Ce contenu a été publié dans xili-language, avec comme mot(s)-clé(s) , , , , . Vous pouvez le mettre en favoris avec ce permalien.

41 réponses à xili-language plugin : release 2.1

  1. Ping : xiligroup dev » Extension xili-language : version 0.9.9.4

  2. Calitinilo dit :

    Can you explain « automatic » selection of language ?

  3. admin dit :

    Instead some other multilingual site, with xili-language, all the post in different language are in the SAME wordpress database. No need to do two or more databases. After setting the plug-in, when you create a post, you have only to check the language of the created post. And when a visitor read this post, the theme (with basic rules) will be in the same language as the post language by automatically selecting the .mo file attached to the theme.
    M.

  4. Giannis dit :

    Hey guys I have a question for you… i’m trying to install wordpress through wordpress’ admin panel and I’m getting the following error:

    ‘Parse error: parse error in D:\wamp\www\wordpress\wp-content\plugins\xili-tidy-tags\xili-tidy-tags.php on line 1486’.

    Line 1486 is the last line of the file… nothing wrong there.. I looked the whole file and I can’t spot anything wrong with the code… here is what I’m using, PHP: 5.3.0.

    Any help appreciated 😉

  5. admin dit :

    Hello Giannis !

    I am not sure but

    Try to erase & in both instantiations at the end

    $xili_tidy_tags = new xili_tidy_tags (false, false);

    $xili_tidy_tags_cloud_widgets = new xili_tidy_tags_cloud_multiple_widgets ();

    Also :

    When the error is at the end…. it is often when a control flow (if { or }…. is not correct … is php 5.3 more rigourous !

    Thanks for your observations

  6. Giannis dit :

    Hi once again! I tried what you suggested but with no luck ;/

    I also rolled back to PHP 5.2.0 and got a « unexpected $end » as you said. the thing is that I scanned again the whole file, I used Aptana and xDebug and I cant find the parse error… I also did this:

    I erased the first class ‘xili_tidy_tags’ from the file and I managed to install the plugin correctly, so I suppose that the problem is somewhere in that class.

    Has anybody else faced the same kind of trouble?

    Thank you

  7. admin dit :

    You are the first who describe that pb with PHP 5.2 and 5.3 on his server… Here I test on PHP 5.2.6 (mamp local server) and xiligroup online server (php 5.2.10) and one client use it on PHP4 (it is why the instantiation used =& code)… read you email for other texts…

  8. DEHuCKA dit :

    Hello, how to force on demand lang=en_us to deduce a theme en_us.php? And on demand
    ? lang=en_rus to use other theme.

  9. xiligroup dev dit :

    Our other plugin xilitheme select is able to select a theme according the browser of the device (here mobile). (https://dev.xiligroup.com/?cat=395&lang=en_us) – It will be note very difficult to do a language theme select but do you think it will be a good idea ?
    How many users ask this ?

    Michel of dev.xiligroup

  10. Ildikó dit :

    This message keeps popping up, and in firefox, it doesn’t even show the website:
    no theme domain in index.phpxili-language plugin : THEME_TEXTDOMAIN UNDEFINED

    Before I updated the plugin version, this didn’t happen.
    Help!!

  11. xiligroup dev dit :

    Thanks for your question. I visit your site and see that your use only page (and not post) to fill your bilingual site… To engage an efficient dialog, I will open a forum discussion here.
    Michel
    dev.xiligroup team

  12. yoav dit :

    Hi there

    few questions if you can direct me:
    1.how do i make the mo.files?
    2.what plugin you used in your website to make the tabs in the post?

    thanks

  13. xiligroup dev dit :

    1) two ways to build .mo files from .po files : a) on desktop computer, poEdit app is good on all OS (I use it on MacOsX), b) on WP itself, install xili-dictionary plugin which is able to build .po file and .mo file.
    2) The Tabs : It is not yet a stand alone plugin – As you can see in js source, the tabs javascript is SimpleTabs from Harald Kirschner modified for mootools by Daniel Sturm and us.
    Hope that help you !
    M for dev.xiligroup.com

  14. yoav dit :

    thank you . i will start by testing the xili-dict’ plugin.

  15. Anonyme dit :

    Thanks a lot for this pluging, i was using gengo but is out and i couldn’t update my wordpress because wasn’t compatible but with this one… bye bye gengo!! welcome xili-language and WordPress 2.9.2

  16. Masud dit :

    Hi, I am very new about WordPress. I Installed it at http://www.it.ranabd.com but now totally can’t see. for your kind info before I installed language switcher. I forgot to uninstall it. Now I can’t see my website. please advice me.

  17. xiligroup dev dit :

    This error occurs because your theme is not international or international complient…

    The next version (1.4.2a available now) fixes this issues.

    It is the opportunity to remind that

    1) the theme must prepared BEFORE plugin activation
    2) test with theme fusion or arlite from digitalnature – that are ready

  18. Stephen dit :

    I think I find a bug:

    DEFAULTSLUG is set by calling $this->get_default_slug() which in turn calls get_terms(‘language’).

    However, ‘language’ terms are only registered in set_when_plugin_loaded() which is not called until ‘init’ action is called which is way after DEFAULTSLUG is already set.

    The result is DEFAULTSLUG will always be ‘en_US’. This causes all posts that are not selected with a language displayed in English.

    Just FYI.

  19. xiligroup dev dit :

    I will do some tests to be sure that I have good understood your observations… I’ll keep you informed.
    [update]
    The version 1.5.3 fixes the described issue.
    Again, recovering the previous behaviour, when the language of the post is not set, the language of the theme is the default language of admin UI set in config.php. (if no special hook and « Select language of the home page » is « software defined »…
    Michel
    dev.xiligroup.com

  20. Stephen dit :

    Thanks for fixing the bug. One question: is this plugin supposed to also change the default .mo file? The widgets in my side bar don’t seem to be affected by it like the posts.

  21. xiligroup dev dit :

    if your site is bilingual (by example en_US and zh_TW), in your theme folder, you must have two .mo files en_US.mo and zh_TW.mo. To complete these two files (or only the non default zh_TW if theme is coded in english), you must use poEdit software or better xili-dictionary (see doc here and review in WP plugin repository) to add the words of titles of widgets or other terms of your theme. Why ? because files delivered with themes only contain basic terms of the theme design and not the terms of your site (category) or widget.
    I guess that you read php, so I think, you will be able to understood translation technics (gettext) with .po (text) and .mo (runtime version)…
    Hope that help you

  22. Ping : Confluence: BEHRINGER.COM

  23. bingjie dit :

    great work..

  24. Sumon dit :

    Great Tricks. Thanks for share this. Can you tell me this, how can I create Google Image Search Engine Type in my WordPress Blog Image?

  25. Stephen dit :

    I just updated to 1.8.0 and find that it adds a filter to get_the_post. It seems to map the PHP date symbols to the locale ones. The problem I find is that it doesn’t map timezone symbols (‘T’ or ‘e’) and just leaves them in the final date/time strings.

    Just FYI.

  26. SoWhat dit :

    Hi!

    I used xili_language_list() function to get list of languages. If I switch to other language, ?lang=xx is added to my domain name and everything is translated, but after I open another page, than I see again default page language. What should I do, to be able to switch language only once, not every time I open another blog page?

    Thanks!

  27. xiligroup dev dit :

    Just one question – have you choosen a language for each other posts displayed . Each post must be set for a language in top left window of edit dashboard screen… To choose the language of the theme, xili-language must know the language of the post…
    If you need, send me via contact your URI

  28. Stephen dit :

    The latest 1.8.6 update is causing this error on my WP 3.0.1 install. Any idea?

    [23-Nov-2010 23:02:29] PHP Fatal error: Call to undefined function wp_get_current_user() in /home/jujucom/public_html/wp/wp-includes/capabilities.php on line 1059

  29. xiligroup dev dit :

    It is very very very strange because this function – wp_get_current_user – is a core function present in wp-includes/pluggable.php. Is this file corrupted ?

  30. xiligroup dev dit :

    the backtrace confirms it is caused by a plugin called Theme Test Drive http://www.prelovac.com/vladimir/wordpress-plugins/theme-test-drive – The Author fixes this issues

  31. ktsixit dit :

    wow this is one of the worst installation instructions ever.
    You really don’t know how to create a tutorial, do you?

  32. Ping : xili-language : version 1.1.8 is shipped « Forums of xiligroup.dev

  33. Ping : Installing « Forums of xiligroup.dev

  34. Goran dit :

    Hi!
    I’ve just started using xili language on my web site and I think it’s great.
    I’m also trying to install some kind of redirection based on visitor’s country ip addresses. For example I would like for serbian ip addresses default language to be serbian and for all other ip addresses the default language would be english.
    Is this possible using your plugein? Or could you thing of any other 3rd party plugeins that would serve the purpose?
    Thank you!

  35. xiligroup dev dit :

    Today, you can set the displayed language according the language of visitors browser. So, if browser is serbian set, the home page will be serbian and for the other english if you set it as root-default language (as currently in theme.).
    No experience about redirection based on IP location…

  36. Narin dit :

    Hello , Please tell me how to config xili-language in wordpress from admin panel and show it in view. I want my site have page 2 language example : history 1 is english and 1 more is french

    Thank for help me

  37. Ping : How to Build Multilingual Sites With WordPress - WPMU.org

  38. Ping : How to Build Multilingual Sites With WordPress | CMS Radar

  39. Ping : How to Build Multilingual Sites With WordPress | Plum

Laisser un commentaire