Add translation strings for stock on product page
-
Hi.
Translation strings is missing so you can’t translate stock status on product page.
You can fix this by replacing woocommerce with stock-locations-for-woocommerce in inc/functions.php
row 728
$availability = __( 'Out of stock.', 'stock-locations-for-woocommerce' );
row 732
$availability = __( $stock . ' in stock.', 'stock-locations-for-woocommerce' );
and add these lines to languages/stock-locations-for-woocommerce.pot
#: ../../../../../stock-locations-for-woocommerce/src/inc/functions.php:728 msgid "Out of stock." msgstr "" #: ../../../../../stock-locations-for-woocommerce/src/inc/functions.php:732 msgid " in stock." msgstr ""
Perhaps you have a better solution, but I hope you get the point.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.