hi @yukikatayama, thanks for your response.
i tried to use the plugin, but i couldn’t find the text domain “woocommerce-plugin-framework”.
could you tell me if know about this?
I tried “gettext” filter like this.
add_filter('gettext', 'custom_text', 100, 3);
function custom_text($translation, $text, $domain) {
return 'ABC';
}
almost all text was changed but “Place order” was still alive…
can you change with Loco Translate even this situation?
By the way, I found the way to change the text!!!
add_filter ('woocommerce_order_button_html', 'custom_order_button_html', 100);
function custom_order_button_html($button_html) {
$button_html = str_replace('id="place_order"', 'id="place_order2"', $button_html);
return $button_html;
}
but i’m afraid of that changing id may trigger some trouble…
does anybody have better way?
thanks.