Hello Gary,
Sorry about the “deactivated” part, I did not know the context of it and just ran into it when I was translating the plugin for my website.
I’m not a programmer, just a simple user, so I cannot tell you how to add translatable strings to the code. For now, I’m using code, besides locotranslate, in my funtions.php to translate:
add_filter('gettext', 'translate_shipping');
add_filter('ngettext', 'translate_shipping');
function translate_shipping($translated) {
$translated = str_ireplace('Shipping', '', $translated);
return $translated;
}
add_filter('gettext', 'translate_address_book');
add_filter('ngettext', 'translate_address_book');
function translate_address_book($translated) {
$translated = str_ireplace('Address Book', 'Direcciones de envío', $translated);
return $translated;
}
add_filter('gettext', 'translate_long_line_1');
add_filter('ngettext', 'translate_long_line_1');
function translate_long_line_1($translated) {
$translated = str_ireplace('The following addresses are available during the checkout process.', 'Direcciones adicionales:', $translated);
return $translated;
}
By the way, why was chosen for a dropdown selector to select a saved shipping direction?
Do you want to expand this plugin and make a selectable billing address possible?
I have been looking like a plugin like the one you made for years now, happy I made a search today.
Thank you,
-Ronald