Support » Fixing WordPress » Translation not working

  • Hi, I recently followed a tutorial about how to translate my theme here is what I’ve did : `
    added :

    load_theme_textdomain( 'INTERluminaires', TEMPLATEPATH.'/languages' );
    
    $locale = get_locale();
    $locale_file = TEMPLATEPATH."/languages/$locale.php";
    if ( is_readable($locale_file) )
    require_once($locale_file);

    to my function.php file

    added
    <?php _e("TROUVEZ", "INTERluminaires"); ?>

    on all strings I wanted to translate where TROUVEZ is the original text (in french)

    Did my translation using PO edit, uploaded it in my theme / language folder.

    I am using multisite so I changed the language of my website to English.

    When I refresh my webpage nothing change. Anything I might have overlooked.

  • The topic ‘Translation not working’ is closed to new replies.