Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 894 forks source link

Swedish translations for analysis points not applied when the related score is in 'bad' or 'improvements' #11779

Closed danielFangstrom closed 5 years ago

danielFangstrom commented 5 years ago

Please give us a description of what happened.

The translations for 'Sentence length' and 'Transition words' in the readability analysis are used when the scores are 'Good' but the english versions are used in 'Bad' and 'Improvements'. For the key phrase analysis, the translation of 'Keyphrase length', 'Keyphrase in introduction', and 'Meta description length' is only applied when the score is in 'Good'.

How can we reproduce this behavior?

  1. Set the language to Swedish, write a post, use sentences with long sentences and no transition words so that the respective scores are in 'Bad'.
  2. Change the sentences to be shorter.
  3. See that as the score improves to 'Good', the translation for 'sentence length' is used.
  4. Add transition words to each sentence.
  5. See that as the score improves to 'Good', the translation for 'transition words' is used.
  6. Check that the bullet points for 'Keyphrase length', 'Keyphrase in introduction', and 'Meta description length' are all in 'Bad' (and has the english translation.
  7. Enter a key phrase and make sure to have it in the introduction.
  8. If the score for the two related points are in 'Good', check that the Swedish translation is used for 'Keyphrase length' and 'Keyphrase in introduction'.
  9. Enter a meta description of 120 words.
  10. Check that the score is in good and that the translation is used for 'Meta description length'.

Technical info

Used versions

nataliashitova commented 5 years ago

I can see that the "bad" versions of the translation strings for sentence length are not translated on the WP side, which is why you do not see Swedish feedback. The string for transition words was added less than a week ago, so it might just not be used yet. @danielFangstrom you can consider contributing to the translations of our feedback strings though!

danielFangstrom commented 5 years ago

Ah, I see. If it's that new it makes sense. I can add some translations though!