Can’t translate button text “Choose Product”
-
Hi!
Probably there is an error in file products.php in line 23:
<button class=”bpress-btn bpress-btn-product”><?php echo _x( ‘Choose Product’, ‘basepress’ ); ?></button>Missing second required parameter in function _x( $text, $context, $domain );
For this reason button text is not translated from .mo-file.
Using __() or _e() solves this problem.Regards.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can’t translate button text “Choose Product”’ is closed to new replies.