Make STOCK_QTY available at LOCATION_NAME string translatable

[ad_1]

One of the main strings on the product page is not currently possible to translate. Could you change line 316 of stock-locations-for-woocommerce.php to this to make it translatable?

// Current line

$data['stock_locations_product_page_notice'] = apply_filters('slw_product_stock_location_notice', 'STOCK_QTY available at LOCATION_NAME');
// New line (Translatable)

$data['stock_locations_product_page_notice'] = apply_filters('slw_product_stock_location_notice', sprintf(__('%s available at %s', 'stock-locations-for-woocommerce'), 'STOCK_QTY', 'LOCATION_NAME'));
  • This topic was modified 20 minutes ago by michaelw90. Reason: Added context

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer