English Language Typos
-
Hey,
thanks for a great plugin. But you have lot’s of typo errors and unsenseless sentences in English and German. Can you fix that in all of the source languages in all po files where you have for ” on 5.0″ it should be ” of 5.0″. As i’m not able to fix it in the source .mo file i had to do it manually in the source code since changing the translation in de_DE version is possible since it’s a translation of the source but the source can not be changes so simply it’s incorrect always in English – it’s also placed in the code on in the yasr-functions.php on line 294. This is really important since the ratings are read by the users and it’s important that it works fine and written correctly. Also another details that i have notice in the file yasr-functions.php on the below line 294 i had to replace it with the fragment below because in the Google Rich Snippet Test Tool i did not work with your version where the bestRating contains a sentence ‘ on 5.0’ so the rating was not appearing in Google test, after i replaced it with this below it works and it appears.
$rating = “<span itemprop=\”reviewRating\” itemscope itemtype=\”https://schema.org/Rating\”> “. __( ‘ rated ‘ , ‘yasr’ ) . “<span itemprop=\”ratingValue\”>” . $overall_rating . “</span> ” . __(‘of’ , ‘yasr’) . ” <span itemprop=\”bestRating\”>” . __(‘5’ , ‘yasr’) . “</span></span>”
I’m suggesting that you set it the same way as i did above so that the words like “of”, “on”, etc… are not depended of the “5”… In that case you would add ‘of’ and ‘5’ as separated translations in the po files and remove the complete ” on 5.0″ sentence”. I hope you understood me where is the issue ?
I hope this will be fixed in the next release ?
Cheers
- The topic ‘English Language Typos’ is closed to new replies.