Open Sophie-2e opened 7 months ago
It would be nice to have an update here.
@MdAsifHossainNadim
/**
* Get rate label.
*
* @return string
*/
public function get_label() {
return apply_filters( 'woocommerce_shipping_rate_label', $this->data['label'], $this );
}
WooCommerce doesn't send this label in a translatable way. We don't have the privilege to update this method label. If you have any examples or plugins that can create a shipping method or translate this string, please share the reference.
@J-H-Mojumder
@J-H-Mojumder
Here are the steps to translate specific texts that are not being translated even when detected in the string list using WPML:
I hope this helps resolve your issue! 👍🏻
Hello @pronob1010, @J-H-Mojumder, no I already tried this previously, and I just tried again to be sure with Dokan v3.12.3 + Pro v3.12.4, after rescanning all Dokan plugins in WPML, but we still cannot find the strings there either. Any other option?
As the shipping methods are associated to the sellers, can we not just make the 'label' translatable for sellers' shipping methods in Dokan plugin files?
@pronob1010 @J-H-Mojumder just saw the PR related to it so I see that your dev team is working on a fix with WPML 🎉 Thank for pushing the issue through 🙌
Another issues related to the Shipping Module not well translated:
I noticed that the Shipping Methods Name of vendors are not translated and are instead displayed in the language that the seller used to add his shipping methods.
So let's say a french seller add his shipping methods from his french dashboard, then all customers we see the vendor shipping method names in french even if they order from the english or dutch websites.
The issue occurs on:
[ ] Cart page:
[ ] Checkout page:
[ ] Order details in emails sent to customers, admin, sellers:
And here is other ticket related to Shipping Methods translation issue: https://github.com/getdokan/dokan-wpml/issues/62 + https://github.com/getdokan/dokan-wpml/issues/35