Snippets.php not translatable
-
Please, add _e(”) to all static texts or use my fork:
<?php echo $data['url_markup']; _e('Overall rating:' , 'rich-reviews'); ?> <span itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"> <span class="stars"> <?php echo $data['stars']; ?> </span> <span class="rating" itemprop="ratingValue" style="display: none !important;"> <?php echo $data['average']; ?> </span> <?php _e('based on' , 'rich-reviews'); ?> <span class="votes" itemprop="reviewCount"> <?php echo $data['reviewsCount']; ?> </span> <?php _e('reviews' , 'rich-reviews'); ?>. <div style="display:none"> <span itemprop="bestRating">5</span> <span itemprop="worstRating">1</span> </div> </span>
- The topic ‘Snippets.php not translatable’ is closed to new replies.