Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › Change the word "Followings" to "Following"
Tagged: Followings
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by Sonali Vinnakota.
Viewing 3 reply threads
- AuthorPosts
- May 17, 2020 at 9:00 pm #132259Sonali VinnakotaParticipant
At several places in WCFM (Dashboard), the word “followings” is used. How can I change this to just “Following”? “Followings” is not the plural of “following”.
- May 18, 2020 at 2:01 pm #132490Sarmistha ChakrabortyMember
Hello,
You can change the text using “Loco Translate” plugin – https://docs.wclovers.com/locotranslate-translation-using-loco-translate-plugin/
Select Loco translate -> plugins -> select “WCFM – WooCommerce Multivendor Marketplace” -> select site language -> search string(like “followings”) and change-> save
Thanks.
- May 20, 2020 at 7:36 am #133364Sonali VinnakotaParticipantThis reply has been marked as private.
- May 20, 2020 at 3:14 pm #133498Sarmistha ChakrabortyMember
Hello,
Try this code –
function wcfm_followings_change_text( $translated_text ) { if ( $translated_text == 'Followings' ) { $translated_text = 'Following'; } return $translated_text; } add_filter( 'gettext', 'wcfm_followings_change_text', 20 );
Thanks
- May 23, 2020 at 6:28 pm #134482Sonali VinnakotaParticipant
Thank you, Sarmistha. This worked.
Regards.
- AuthorPosts
Viewing 3 reply threads
- You must be logged in to reply to this topic.