• I’m trying to use the xili-language plugin to create a bilingual website. I downloaded the wordpress .mo file from a repository and manually translated the Padhang items with poedit. It was working for a few days and then stopped working around the time I updated to WP 4.0. The xili-language preferences page now gives an error message saying:
    – Padhang – Theme domain NOT defined
    and another one saying:
    CAUTION: no load_theme_textdomain() in functions.php – review the content of file in the current theme or choose another canonical theme. See Wiki for more details
    In their Wiki there is a page that explains these errors which I cannot understand. See http://wiki.xiligroup.org/index.php/Xili-language:_Red_(alert)_messages.
    If you can fix this problem I can share the Chinese .po file I created for Padhang for future users. Thanks!

Viewing 1 replies (of 1 total)
  • You have chance, this theme is open source and free ! B U T author forget that lines (comments + important line) to be really translation ready in function padhang_setup of functions.php file :

    /*
    	 * Make PadHang available for translation.
    	 *
    	 * Translations can be added to the /languages/ directory.
    	 */
    	load_theme_textdomain( 'padhang', get_template_directory() . '/languages' );

    And after insertion, this theme will begin to be live multilingual… See also other exemples like available here : http://2014.extend.xiligroup.org

    Good Works

Viewing 1 replies (of 1 total)

The topic ‘Multilingual Support with xili-language’ is closed to new replies.