Viewing 7 replies - 1 through 7 (of 7 total)
  • How did you install the plugin?
    Did you downloaded it from transposh site?
    There is the newest version do not install from WordPress repository.

    Thread Starter beppe77

    (@beppe77)

    I installed again the plugin downloading it from transposh website. I noted that this version is different but it doesn’t work also… please look http://www.pqdesign.com

    Please look at this test site: http://1test2.top/ and some other sites tested last days without major issues. Did you set all settings?

    There a lot of small issues but the translation works as far. I have one strange issue with only one woocommerce button that is not translated.

    Next test installation: http://1test4.top/ and works like charm too but installed directly from a downloaded file.

    Thread Starter beppe77

    (@beppe77)

    I tested the plugin in a website with last wp version and it works fine! Thanks! I would like to put the transposh language selector on my header. Can you tell me how?

    There are solutions in this topic and google “transposh flags in header”. You have to add and modify some files functions.php and header.php and it depends from the applied theme.

    My way: Create a widget area in your header for some widgets not only Transposh.

    Step 1

    You have to add in function.php located in theme directory or in child theme create functtions.php:

    /*
     * Register Widget Area.
     *
     */
    function wpg_widgets_init() {
    
    	register_sidebar( array(
    		'name' => 'Header Sidebar',
    		'id' => 'header_sidebar',
    		'before_widget' => '<div id="wpg-widget">',
    		'after_widget' => '</div>',
    		'before_title' => '<h3 class="rounded">',
    		'after_title' => '</h3>',
    	) );
    }
    add_action( 'widgets_init', 'wpg_widgets_init' );

    Place the widget area in header

    Step 2

    Modify header.php in theme directory or better in child theme directory and you have to add one line of code.

    Not modified header.php:

    ...
    	<?php the_core_header_mobile_menu(); ?>
    	<?php the_core_header(); ?>
    	<div id="main" class="site-main">

    The piece of code from my header.php

    ...
    	<?php the_core_header_mobile_menu(); ?>
    	<?php the_core_header(); ?>
    
            <?php if ( !function_exists('dynamic_sidebar') ||  dynamic_sidebar('header_sidebar') ) : endif; ?>
    
    	<div id="main" class="site-main">

    As you see this inserted line:

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('header_sidebar') ) :
    endif; ?>

    it is between the_core_header() and <div id=”main” class=”site-main”>.

    Got to Appearance->Widget in WP Admin

    Step 3

    Find the new created widget area Header Sidebar and place there the Transposh widget inside (choose flags).

    That’s it!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translation not workking’ is closed to new replies.