Tranlate the dashboard and the initial settings

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Tranlate the dashboard and the initial settings

Viewing 3 reply threads
  • Author
    Posts
    • #123535
      jp2019
      Participant

      I need tranlate the principal text into Home page in the dashboard and the button of the initials settings. I’m tryng with loco translate and I can not do it.

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

      Hello,

      Try this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      add_filter('wcfm_dashboard_welcometext',function($text){
      	$text = sprintf('Welcome to the %s Dashboard', get_bloginfo() ); //change the text as per your requirement
      	return $text;
      },20);
      add_filter('wcfm_store_setup_complete_button',function($text){
      	$text = __( "Let's go to the Vendor Dashboard", 'wc-frontend-manager' ); //change the text as per your requirement
      	return $text;
      },20);

      Thanks.

    • #123723
      jp2019
      Participant

      Only the second code it’s work well…

    • #123772

      Hi,

      Regarding Welcome text,
      Did you already translate the text from WP dashboard -> Loco Translate -> Plugins -> WCFM – WooCommerce Frontend Manager ?

      Thanks.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.