Change Delivery Boys to Delivery Team

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 – Delivery Change Delivery Boys to Delivery Team

Viewing 9 reply threads
  • Author
    Posts
    • #76729
      S Charlton
      Participant

      Hi, I need to make this plugin gender neutral. Is there any way to change “boys” to “team”?

      I have also tried updating WCFM Settings>Menu Manager and updated url from boys to team, but it only changes the side title and doesn’t update the URL or the main “Manage Delivery Boys” title – even after refreshing permalinks. Thank you.

    • #77436
      WCFM Forum
      Keymaster

      Hi,

      Please add this code to your site –

      function wcfm_custom_2008_translate_text( $translated ) {
      	$translated = str_ireplace( 'Boys', 'Team', $translated );
      	return $translated;
      }
      add_filter('gettext', 'wcfm_custom_2008_translate_text');
      add_filter('ngettext', 'wcfm_custom_2008_translate_text');

      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

    • #108436
      Coralbeauty
      Participant

      I have the same problem. The code you supplied only worked in one place. I can still see “boys” on the list of staff under “manage delivery ____” and “add delivery boys” section. (Please see my pics attached.) Please let me know how I can edit those other fields to say “drivers” instead of “boys”.

      Thank you!

      Attachments:
      You must be logged in to view attached files.
    • #108748
      Sushobhan
      Keymaster

      Hello,
      The code snippet shared above find and replaces any occurrence of Boys with Team. In your screenshots it is mentioned as Boy not Boys, so those didn’t change. Please try the modified version of the snippet as below-

      function wcfm_custom_2008_translate_text( $translated ) {
      	$translated = str_ireplace( array('Boys', 'Boy'), 'Team', $translated );
      	return $translated;
      }
      add_filter('gettext', 'wcfm_custom_2008_translate_text');
      add_filter('ngettext', 'wcfm_custom_2008_translate_text');

      Thanks!

    • #115184
      Craig
      Participant

      Any chance that this terminology will be updated in the core plugin. Using a generic term such as “delivery” , “Delivery Team”, Delivery service” etc would be better than the “boys” term. And I’m thinking would be better for any marketplace.

      All the delivery girls are getting really mad about this.

    • #115215
      Craig
      Participant

      Sushobhan I have implemented the above code and it works great to remove the word “boy” and “boys”. Thanks for providing that.

      I still think you should consider removing the terms “boy” and “boys” with “service” or something like that for all marketplaces as the term “boys” is not very professional.

    • #118189
      Dana
      Participant

      Agreed, maybe change to individual or person.

    • #118309
      Sushobhan
      Keymaster

      Hi Dana,
      I will let my Dev team know about this. May be in future we will add a settings for this label. But, till then kindly use the snippet provided above.
      Thanks!

    • #132995
      CAM
      Participant

      Another vote for changing ‘boys’ — whatever term is used should be gender-neutral.

    • #133608
      Craig
      Participant

      @CAM

      The code snippet provided above worked great for me as an interim fix

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