Title: Fix for validation error.
Last modified: October 26, 2016

---

# Fix for validation error.

 *  Resolved [Markus Olsson](https://wordpress.org/support/users/marol87/)
 * (@marol87)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fix-for-validation-error/)
 * I came across an error while using the validator at [https://validator.w3.org](https://validator.w3.org).
 * I changed
    `return "<a class='nturl notranslate ".$language_code."' single-language
   flag' title='".$language."'>".$label."</a>";`
 * To
 * `return "<a class='nturl notranslate ".$language_code." single-language flag'
   title='".$language."'>".$label."</a>";`
 * Notice the extra quote which make the classes interrupted. After this change 
   I no longer get the validation error.
 * Is this a valid fix?
 * // Markus

Viewing 1 replies (of 1 total)

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/fix-for-validation-error/#post-8455469)
 * Hi Markus, this has been fixed (finally)! Update to 5.0.22 please. Thanks so 
   much.

Viewing 1 replies (of 1 total)

The topic ‘Fix for validation error.’ is closed to new replies.

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/fix-for-validation-error/#post-8455469)
 * Status: resolved