Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Translation issue
Tagged: Translation
- This topic has 4 replies, 2 voices, and was last updated 4 years, 6 months ago by Sarmistha Chakraborty.
- AuthorPosts
- April 23, 2020 at 1:03 am #121970stziParticipant
All,
with a translation file active we suddenly see the same wording twice in the vendor dashboard. (see in screenshot attached)
In Dashboard -> Orders -> Header line (where you can select by status) we have the same status twice.At the same time in the admin panel the status (and translation) is correct.
Thanks for your support,
StefanAttachments:
You must be logged in to view attached files. - April 23, 2020 at 2:27 pm #122133Sarmistha ChakrabortyMember
Hello,
For translate please use Loco Translate plugin(https://wordpress.org/plugins/loco-translate/). For documentation : https://localise.biz/wordpress/plugin/beginners
Changing Dashboard -> Orders -> Header line,
WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Marketplace -> select your language(or create your language) -> search string(like “Pending”) & translate
WP dashboard -> Loco Translate -> plugins -> WooCommerce -> select your language(or create your language) -> search string(like “Pending payment”) & translateThanks.
- April 24, 2020 at 12:39 am #122297stziParticipant
Dear Sarmistha,
We already had all the translations done. Howevercwe followed your instructions again with the same result.
The correct translation is not fetched in the vendor backend.Thanks for your help.
- April 24, 2020 at 2:11 pm #122477Sarmistha ChakrabortyMember
Hello,
Have you translate using “Loco Translate” plugin? We have tested in our local server, and its working perfectly.
Please Try this code in your theme’s functions.phpfunction my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Pending' : $translated_text = __( 'Zahlung ausstehend', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 );
WP dashboard -> Loco Translate -> plugins -> WCFM – WooCommerce Multivendor Marketplace -> select your language(or create your language) -> search string(like “Pending”) & remove the translation and save.
Thanks.
- April 26, 2020 at 9:58 pm #123378Sarmistha ChakrabortyMemberThis reply has been marked as private.
- AuthorPosts
- You must be logged in to reply to this topic.