Translation issue

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #121970
      stzi
      Participant

      All,

      with a translation file active we suddenly see the same wording twice in the vendor dashboard. (see in screenshot attached)
      In Dashboard -> Orders -> Header line (where you can select by status) we have the same status twice.

      At the same time in the admin panel the status (and translation) is correct.

      Thanks for your support,
      Stefan

      Attachments:
      You must be logged in to view attached files.
    • #122133

      Hello,

      For translate please use Loco Translate plugin(https://wordpress.org/plugins/loco-translate/). For documentation : https://localise.biz/wordpress/plugin/beginners
      Changing Dashboard -> Orders -> Header line,
      WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Marketplace -> select your language(or create your language) -> search string(like “Pending”) & translate
      WP dashboard -> Loco Translate -> plugins -> WooCommerce -> select your language(or create your language) -> search string(like “Pending payment”) & translate

      Thanks.

    • #122297
      stzi
      Participant

      Dear Sarmistha,

      We already had all the translations done. Howevercwe followed your instructions again with the same result.
      The correct translation is not fetched in the vendor backend.

      Thanks for your help.

      • #122477

        Hello,

        Have you translate using “Loco Translate” plugin? We have tested in our local server, and its working perfectly.
        Please Try this code in your theme’s functions.php

        function my_text_strings( $translated_text, $text, $domain ) {
        	switch ( $translated_text ) {
        		case 'Pending' :
        			$translated_text = __( 'Zahlung ausstehend', 'woocommerce' );
        			break;
        	}
        	return $translated_text;
        }
        add_filter( 'gettext', 'my_text_strings', 20, 3 );

        WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Marketplace -> select your language(or create your language) -> search string(like “Pending”) & remove the translation and save.

        Thanks.

    • #123378
      This reply has been marked as private.
Viewing 3 reply threads
  • You must be logged in to reply to this topic.