• Hi
    I mahe a child theme to Vantage and create language folder with my own translation to romanian (ro_RO.po and ro_RO.mo) but my theme is the same în english. I try with functions.php like I see on internet but dont work. Where I’m wrong?
    functions.php from child theme is

    <?php
    // Make the theme translatable
    //load_theme_textdomain( 'portal', get_stylesheet_directory() . '/languages' );
    
    function vantage_child_setup(){
    load_theme_textdomain( 'vantage-child', get_stylesheet_directory() . '/languages' );
    }
    add_action('after_setup_theme', 'vantage_child_setup', 15);
    ?>

Viewing 1 replies (of 1 total)
  • Thread Starter dcrst75

    (@dcrst75)

    style.css is

    /*
     Theme Name:   Vantage Child
     Theme URI:    http://#
     Description:  Vantage Child Theme
     Author:       DC
     Author URI:   http://#
     Template:     vantage
     Version:      1.0.0
     Text Domain:  vantage-child
    */
    
    @import url("../vantage/style.css");

Viewing 1 replies (of 1 total)

The topic ‘Translation problem’ is closed to new replies.