Woocommerce Translation problem - by Daniel Moereels

This topic has 2 replies, 2 voices, and was last updated 3 years, 9 months ago ago by Robert Hall

  • Avatar: Daniel_Moereels
    Daniel Moereels
    Participant
    March 15, 2021 at 16:56

    i’m not able to translate all woocommerce trings, when activating a different theme all translations are in place, when activating xstore the theme adds 3 extra buttons to the top of the my account page + a custop header text.

    I have translated woocommerce and I have translated the theme fully however no strings are showing up in loco translate and also not in WPML string translator

    its this part in the theme

    
    	<h3 class="title"><span><?php echo esc_html__('Welcome in your account page', 'xstore'); ?></span></h3>
    
    	<p><?php echo sprintf(esc_html__('Hi %1$s, today is a great day to check %2$s page. You can check also:', 'xstore'),
    			'<strong>' . esc_html( $current_user->display_name ) . '</strong>', '<a href="'.esc_url(wc_get_endpoint_url('dashboard')).'">'.esc_html__('your account', 'xstore').'</a>'); ?></p>
    	
    	<div class="MyAccount-dashboard-buttons">
    		<a href="<?php echo esc_url( wc_get_endpoint_url( 'orders' ) ); ?>" class="btn black big"><i class="et-icon et_b-icon et-sent"></i><span><?php echo esc_html__('Recent orders', 'xstore'); ?></span></a>
    		<a href="<?php echo esc_url( wc_get_endpoint_url( 'edit-address' ) ); ?>" class="btn black big"><i class="et-icon et_b-icon et-internet"></i><span><?php echo esc_html__('Addresses', 'xstore'); ?></span></a>
    		<a href="<?php echo esc_url( wc_get_endpoint_url( 'edit-account' ) ) ; ?>" class="btn black big"><i class="et-icon et_b-icon et-user"></i><span><?php echo esc_html__('Account details', 'xstore'); ?></span></a>
    	</div>

    Also the login dropdown it not translated or detected to be translated

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 16, 2021 at 06:47

    Hello

    Thanks for contacting us.

    https://docs.woocommerce.com/document/woocommerce-localization/ – please follow this article.

    We provide translation files for the theme, but it is not full translation, read here –
    https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
    Xstore Core plugin should be translated manually.

    Robert Hall

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.