.po and .mo files do not update

dev.xiligroup est en travaux Forums xili-language plugin .po and .mo files do not update

Ce sujet contient 0 réponses et 3 voix, et a été mis à jour par  Anonyme il y a Il y a 12 ans, 2 mois.

Visualisation du message 3 (1 sur 3, 3 au total)
  • Auteur
    Articles
  • #3141

    Anonyme

    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

    Anonyme

    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.

Visualisation du message 3 (1 sur 3, 3 au total)

Vous devez être connecté pour répondre à ce sujet.