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 5 years, 2 months ago by
marcinzywy.
- AuthorPosts
- December 4, 2019 at 6:37 pm #96036
marcinzywy
ParticipantHi 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 #96422
WCFM Forum
MemberHI,
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 #96755
marcinzywy
ParticipantHi, 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 #96833
WCFM Forum
MemberOK, 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 #97032
marcinzywy
ParticipantHi, 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 #97237
WCFM Forum
MemberHI,
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 #97609
marcinzywy
ParticipantBrilliant! Thank you.
- AuthorPosts
- The topic ‘Can not translate 'Let's go to the Dashboard'’ is closed to new replies.