.po and .mo files do not update

dev.xiligroup is being renovated Forums xili-language plugin .po and .mo files do not update

This topic contains 0 replies, has 3 voices, and was last updated by  Anonymous 6 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3141

    Anonymous

    Your topic raises several questions:

    – Why do you need to create translation files in en_US (it is the root language in WP. Are you unsatisfied with the provided english by WP ?)

    – What is the other languages in your multilanguage website ? es_ES, fr_FR ?

    – When creating translation files (po, mo) have error(s) message when done from tools and files sub-menu/screen of xili-dictionary ?

    Don’t forget to visit http://wiki.xiligroup.org !

    M.

    #3142

    Anonymous

    Hi Michel,

    I have es_ES. en_US, fr_FR, de_DE and nl_NL languages. The fact is that xili Language works fine and all posts change language when appropiate. It’s only when I use _e() function.

    In my functions.php file I have the following:

    load_theme_textdomain(‘textdomain’, TEMPLATEPATH.’/languages/’);

    and once I click on « Update .po file » in any language, nothing is filled. No msgid & msgstr.

    #3140

    xiligroup dev
    Keymaster

    if you observe by example twentyten theme, you see

    load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' );

    and translatable terms are displayed by functions like

    _e( 'this sentence' , 'twentyten' );

    here the text domain is ‘twentyten’ and po/mo files are in subfolder ‘/languages’ of theme !

    Hope that help you !

    M.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.