 Vasileios Chouliaras
|
Hi i made this snippet to add an extra button at minicart.
I go to string translation but i cant find the Text to translate.
What i do wrong?
add_action( 'woocommerce_widget_shopping_cart_before_buttons', 'my_custom_action', 15 );
function my_custom_action() {
echo '">';
}
|
 Mihai Apetrei
WPML Supporter since 03/2018
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+03:00)
|
Hi there.
Instead of using a simple "echo", please take a look at the documentation link found here:
- https://wpml.org/documentation/support/translating-the-theme-you-created/
- https://codex.wordpress.org/I18n_for_WordPress_Developers#Strings_for_Translation
After you edit the code, go to WPML > Theme and plugins localization > and rescan the theme/plugin.
Now you should find them in WPML > String Translation when you search for them.
That would be all that you need to do.
Kind regards,
Mihai Apetrei
|