Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Can not translate 'Let's go to the Dashboard'
- This topic has 6 replies, 2 voices, and was last updated 4 years, 11 months ago by marcinzywy.
- AuthorPosts
- December 4, 2019 at 6:37 pm #96036marcinzywyParticipant
Hi wclovers,
I use loco translate to translate WCFM, WCFM Ultimate and WCFM Marketplace plugins.
In Vendor Store Configuration Wizard, on the last page there is a button “Let’s go to the Dashboard”.
Unfortunately I can not find this string to translate in Loco Translate. Not sure how to add this or translate directly in plugin files?
- December 7, 2019 at 1:27 pm #96422WCFM ForumMember
HI,
We will definitely take care of this in next update.
But this will be part of WC Frontend Manager plugin’s translation file.
Thank You
- December 9, 2019 at 5:12 pm #96755marcinzywyParticipant
Hi, and thanks for your reply.
I can wait for the next update and then will use loco translate for this.
However, is there any possibility to make ‘hard coded’ translation of this button or add some script to functions.php for the translation?
Thank you
- December 10, 2019 at 10:04 am #96833WCFM ForumMember
OK, what you call this button label? Please know me that text, I will give code for the purpose.
- December 11, 2019 at 3:30 pm #97032marcinzywyParticipant
Hi, thank you for the help
The button now says “Let’s go to the Dashboard” and I would like to translate it into polish language “Panel Sklepu”.
Please, see the screenshot.
Attachments:
You must be logged in to view attached files. - December 12, 2019 at 5:20 pm #97237WCFM ForumMember
HI,
Please add this code to your site –
add_filter( 'wcfm_store_setup_complete_button', function( $button_label ) { $button_label = 'Panel Sklepu'; return $button_label; });
Add 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/Thank You
- December 16, 2019 at 12:56 pm #97609marcinzywyParticipant
Brilliant! Thank you.
- AuthorPosts
- The topic ‘Can not translate 'Let's go to the Dashboard'’ is closed to new replies.