Viewing 2 replies - 1 through 2 (of 2 total)
  • I also need to translate. How can we do that?

    Got it working. Steps:

    1. Create the necessary po mo files by using the given sidebar-login.pot file in sidebar-login/languages
    2. upload both new files to: your-theme/languages/sidebar-login
    3. add the following code to your your-theme/functions.php

    function my_child_theme_locale_awe() {
        $my_theme = wp_get_theme();
        load_child_theme_textdomain( 'sidebar-login', get_stylesheet_directory() . '/languages/sidebar-login' );
    }
    add_action( 'after_setup_theme', 'my_child_theme_locale_awe' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation’ is closed to new replies.