Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter guna

    (@cthemes)

    Thanks a lot.

    Thread Starter guna

    (@cthemes)

    Hi,

    Thanks for quick support. Customizer service contents does not translate with free partial translation tools like polylang. How Can i use 1. WPML or 2. Polylang (Paid) version to translate Customizer service contents?

    thanks

    Thread Starter guna

    (@cthemes)

    Hi,

    Thanks for helping. Translated .pot with Loco. WordPress > Settings > General language “German” not available.

    Need to translate both customizer generated content and theme. How to make qtranslate-x and loco used together by language switching menu like (english|german) ?

    Thanks,

    Thread Starter guna

    (@cthemes)

    hi @webdzier

    Great, Customizer is translating.

    I have developing in localhost. One thing to resolve. need to translate things in templates like single.php as,
    __( ‘[:de]Volgend bericht:[:en]Next post:[:]’, ‘business-a’ ) It loses after theme update? how to fix it? (.pot translation panel did not see in qtranslate-x)

    Can polylan and qtranslate be used together?

    Regards

    • This reply was modified 6 years ago by guna.
    Thread Starter guna

    (@cthemes)

    @webdzier

    Sorry i have developing in localhost.

    Thanks

    guna

    (@cthemes)

    Tried this in functions.php and text translation in polylang but no changes in customizer. Even home page settings not available with polylang.

    /* polylang translation */
    if ( function_exists( 'pll_register_string' ) ) :
    	    /**
    	     * Register some string from the customizer to be translated with Polylang
    	     */
    	    function my_pll_register_string() {
                    //got settings from options array
    		global $hotel_galaxy_option;
    		
    			foreach($hotel_galaxy_optionas $option=>$value){
    				//echo $option.'-'.$value ;
    				pll_register_string( $option, $value, 'hotel-galaxy', true );
    			}
    
    	    }
    	    add_action( 'after_setup_theme', 'my_pll_register_string' );
    endif;
Viewing 6 replies - 1 through 6 (of 6 total)