Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Translation Issue

MultivendorX Pro

Resolved
Viewing 52 reply threads
  • Author
    Posts
    • #195664
      glander
      Participant

      Hi.

      I use the RnB – WooCommerce Booking & Rental Plugin along with your Multivendor. I also contacted RnB – WooCommerce Booking & Rental Plugin but this seems to be another issue, as they said.

      Please take a look at:

      https://mietemich24.de/
      Login with: Vermieter / 12345678

      Then you will be directed to the Vendor-Backend. Then go to Vermietung —- Vermietungsartikel hinzufügen

      You can see, that there are such points as DISTANCE UNIT PRICE or SELECT PERSON and so on. Is this from MultivendorX? And how can i translate this or disable such points as SELECT PERSON (i don´t need this)

      Or is this also no MultivendorX Issue? I can not find da way to translate or disable.

    • #195675

      @glander you can translate the plugin using Loco Translator using, our guidelines available here – https://multivendorx.com/docs/knowladgebase/multivendorx-translation-guide/
      Now if you want to remove the above mentioned options from the vendor dashboard you can easily do that by overriding the html-endpoint-add-inventory.php template file.
      You may follow the below path to override the template file yourtheme/mvx-pro/rental-pro/html-endpoint-add-inventory.php.

    • #195680
      glander
      Participant
      This reply has been marked as private.
      • #195718
        glander
        Participant
        This reply has been marked as private.
    • #195764

      To translate the options like Select person , distance unit you will have to translate the strings of WooCommerce Rental & Booking plugin, as we use their strings.
      Now if you want to remove the section from the vendor dashboard it will not happen by only overriding template files.
      You will have to use the below mentioned filter –

      
      apply_filters('mvx_frontend_dashboard_rental_pro_taxonomies', array( 'rnb_categories', 'pickup_location', 'dropoff_location', 'resource', 'person', 'deposite', 'attributes', 'features' ));
      
      Copy
    • #195912
      glander
      Participant
      This reply has been marked as private.
    • #195934

      @glander We translated the set quantity section using the loco translate (https://prnt.sc/vAn4Ds1HdDWO ) and it got translated in the vendor dashboard too(https://prnt.sc/8XoCn9RonYzL) .
      Can you please share with us exactly which fields you want to translate so we can check the same on our end.

    • #195979
      glander
      Participant
      This reply has been marked as private.
    • #195991

      You can add the below code in the functions.php file of your current active theme to remove the parts from the vendor dashboard –

      
      add_filter('mvx_frontend_dashboard_rental_pro_taxonomies', 'remove_fields', 10, 1);
      function remove_fields($link) {
      $link = array('rnb_categories', 'person');
      return $link;
      }
      
      Copy

      And to translate the options distance unit and distance unit price you need to use loco translate. But the options select categories, select person are part of taxonomy class hence those can not get translated.

    • #196003
      glander
      Participant
      This reply has been marked as private.
    • #196008

      @glander, please do share a temporary admin, ftp access so we can check.

      While sharing the access don’t forget to mark the response as private.

    • #196011
      glander
      Participant
      This reply has been marked as private.
    • #196025

      Thanks for sharing the access. Our team looking into this. However as we are closed due to weekends, hence the reply might get a bit delayed.

    • #196503
      glander
      Participant
      This reply has been marked as private.
    • #196504

      We need the site access too. Kindly create a staging site that should be an exact replica of you live site and share the staging site URL an d temporary admin and FTP access with us.

      While sharing the access don’t forget to mark your reply as private.

    • #196505
      glander
      Participant
      This reply has been marked as private.
    • #196509

      The shared access is not working https://prnt.sc/s9y-AjKkNQaX. Kindly check and share the correct access.

    • #196519
      glander
      Participant
      This reply has been marked as private.
    • #196523

      @glander we are now able to access your site. But it seems like your live site. I t would be great if you can create a staging site that should be an exact replica of your live that and share the staging site url, temporary admin and ftp access with us so that we can check the issue there and help you accordingly.
      Also while sharing access don’t forget to mark your reply as private.

    • #196541
      glander
      Participant
      This reply has been marked as private.
    • #196546

      Thanks for the access. I have created a new vendor on your staging site but however i am not able to login as a vendor. Kindly check here https://watch.screencastify.com/v/brJ0qcdIyi2JiukwFllN.

    • #196547
      glander
      Participant
      This reply has been marked as private.
    • #196552

      Can we add a test vendor and also check by adding the code shared above on your end?

    • #196555
      glander
      Participant
      This reply has been marked as private.
    • #196565

      @glander We have added the code in the functions.php file of the current active theme on your end and the code is working absolutely fine. Kindly check the video https://watch.screencastify.com/v/EFib75H7JmK6Z34HXBjW. Once you add the code the options that you wanted to remove are removed correctly.
      Kindly make sure you have added the code in the active theme’s functions.php file. Not on some inactive theme’s file.

    • #196661
      glander
      Participant
      This reply has been marked as private.
    • #196664

      @glander To remove these options you need to override the html-endpoint-add-inventory.php template file following the below mentioned path .
      yourtheme/mvx-pro/rental-pro/html-endpoint-add-inventory.php.
      In the template file you need to remove the lines from 115 – 134

    • #196673
      glander
      Participant
      This reply has been marked as private.
    • #196675

      The rental module is working fine on our end. Kindly check the video https://fluvid.com/videos/detail/4XwxrIY98osOMxg4P.
      On your end the rental module may not be enabled. Kindly check if the module is enabled or not.

    • #196680
      glander
      Participant
      This reply has been marked as private.
    • #196683
      This reply has been marked as private.
    • #196684
      glander
      Participant
      This reply has been marked as private.
    • #196696

      @glander We have checked this on our end and once we removed the lines the options got removed. We have even checked from the main plugin file. Can you please check again carefully.
      Also for the overriding of the template do follow the below mentioned path and remove the lines from 115-134.
      yourtheme/mvx-pro/rental-pro/html-endpoint-add-inventory.php.

    • #196722
      glander
      Participant
      This reply has been marked as private.
    • #196744

      We are able to recreate this issue on our end and we will fix it soon and also keep you posted regarding the same. Kindly provide us some time.

    • #196854

      We have fixed the issue with translation in our MultiVendorX Pro 1.2.1 version. Kindly use the updated plugin on your end and check. Also add the below code accordingly the functions.php file of your current active theme to remove some options under the add inventory tab in rentals in the vendor dashboard –

      
      add_filter('mvx_frontend_dashboard_rental_pro_taxonomies', 'remove_fields', 10, 1);
      function remove_fields($link) {
          unset($link['pickup_location']);
          unset($link['dropoff_location']);
          unset($link['resource']);
          unset($link['deposite']);
          unset($link['attributes']);
          unset($link['features']);
          return $link;
      }
      
      Copy
    • #196952
      glander
      Participant
      This reply has been marked as private.
    • #196953
      glander
      Participant
      This reply has been marked as private.
    • #196954
      glander
      Participant
      This reply has been marked as private.
    • #196956

      @glander, not to worry.

      Can you share the video on how can we recreate the issue, so we can check the same on your end?

    • #196960
      glander
      Participant
      This reply has been marked as private.
    • #196963

      @glander To translate the strings in the vendor dashboard you need to translate those in MultiVendorX Pro using Loco translate. You may follow our video for reference https://watch.screencastify.com/v/nldUvLlKkIXXcAeDdfBs.
      Modify the below code accordingly and add in the functions.php file of your current active theme –

      
      add_filter('mvx_frontend_dashboard_rental_pro_taxonomies', 'remove_fields', 10, 1);
      function remove_fields($link){
      	unset($link['pickup_location']);
      	unset($link['dropoff_location']);
      	unset($link['resource']);
      	unset($link['deposite']);
      	unset($link['attributes']);
      	unset($link['features']);
      	return $link;
      }
      
      Copy
    • #196986
      glander
      Participant
      This reply has been marked as private.
    • #196998

      >>>@glander We have logged into your site. You are using the MultiVendorX Pro 1.2.0. We have added the fix in our current MultiVendorX Pro 1.2.1 version.
      So kindly download the latest version of MultiVendorX Pro from here https://multivendorx.com/my-account/api-downloads/. And then try to translate the strings from MultiVendorX Pro using the loco translate. You may follow our video for reference https://watch.screencastify.com/v/nldUvLlKkIXXcAeDdfBs.
      Then add the earlier shared code in the functions.php file of your current active theme accordingly.

    • #197002
      glander
      Participant
      This reply has been marked as private.
    • #197016

      @glander We have again checked the translation on our end and the translation is working fine and also we are not getting any such error message as shared on your screenshot. Kindly check the video https://fluvid.com/videos/detail/MDZQqfm5_QfywORZw.
      We have checked the same on your end but the translation is not working on your end somehow. To debug the issue further on your end can disable plugins and themes on your end. We need approval from your end to proceed with the debugging.

    • #197021
      glander
      Participant
      This reply has been marked as private.
    • #197027

      @glander It seems like there is a conflict with your theme.When we switched to the default theme the translation is working fine. Kindly check the video https://watch.screencastify.com/v/ju4AJLSNkMYnBePnQ1C0.
      Our team will check this on your end and get back to you with the solution. Kindly give us some time.

    • #197028
      glander
      Participant
      This reply has been marked as private.
    • #197067

      As there is a theme conflict issue on your end hence it might take some time for our dev team to debug the issue on your end. Also in this process we may need assistance from the theme team as well.
      But not to worry we will keep you posted regarding all the updates.

    • #197255

      @glander Our team has checked the issue on your end. We have found out that html-endpoint-add-inventory.php this template file has been overridden on your child theme. So you need to re-override this template file with the new html-endpoint-add-inventory.php template file from the latest version of MultiVendorX Pro. As the old html-endpoint-add-inventory.php is not compatible with the new version.

      Hopefully this will solve your issue.

    • #197279
      glander
      Participant
      This reply has been marked as private.
    • #197285

      Hi,
      override rental-pro/templates/html-endpoint-add-inventory.php by copying it to yourtheme/mvx-pro/rental-pro/html-endpoint-add-inventory.php
      then remove line no 93 to 104
      or below code.

      <div class="form-group">
                                  <label class="control-label col-md-3 col-sm-3"><?php esc_html_e( 'Distance Unit', 'mvx-pro' ); ?>
                                          <span class="img_tip" data-desc="<?php esc_html_e( 'If you select booking layout two then for location unit it will be applied', 'mvx-pro' ); ?>"></span></label>
      
                                  <div class=" col-md-6 col-sm-9 ">
                                      <select name="distance_unit_type" class="form-control regular-text distance_unit_type">
                                          <?php foreach ( $distance_unit_type_options as $key => $option ) {?>
                                          <option value="<?php echo $key; ?>" <?php selected( $distance_unit_type, $key ); ?>><?php echo $option; ?></option>
                                          <?php } ?>
                                      </select>
                                  </div>
                              </div>
      Copy

      regards,

    • #203391
      glander
      Participant
      This reply has been marked as private.
Viewing 52 reply threads

The topic ‘Translation Issue’ is closed to new replies.