Title: Wrong language indication.
Last modified: May 8, 2023

---

# Wrong language indication.

 *  Resolved [Antonio Areal](https://wordpress.org/support/users/corsair22/)
 * (@corsair22)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/wrong-language-indication/)
 * We select one language but the indication on site is other.
 * If we select portuguese appears french, if we select french appears english and
   so on.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-language-indication%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/wrong-language-indication/#post-16720802)
 * Hi,
 * I see the following CSS code in your main.css file:
 *     ```
       .language-selector a:not(:nth-child(2)) {
         opacity: 0.5 !important;
       }
   
       .language-selector a:nth-child(2) {
         opacity: 1 !important;
       }
       ```
   
 * By default we apply gt-current-lang class to the selected language, which makes
   it bold by this CSS rule: `.gt-current-lang {font-weight:bold}`
 * So if you want to customize the selector you better use gt-current-lang class
   CSS selector instead of nth-child which is obviously wrong.
 * I believe you can use something like this instead:
 *     ```
       .glink {opacity:0.5}
       .gt-current-lang {opacity:1!important}
       ```
   
 * Thanks! 🙂
    -  This reply was modified 3 years, 1 month ago by [edo888](https://wordpress.org/support/users/edo888/).
 *  Thread Starter [Antonio Areal](https://wordpress.org/support/users/corsair22/)
 * (@corsair22)
 * [3 years ago](https://wordpress.org/support/topic/wrong-language-indication/#post-16733760)
 * We apply this solution but not solve the problem. 
   Now if you select PT keep 
   it highlight but others have the same problem.
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [3 years ago](https://wordpress.org/support/topic/wrong-language-indication/#post-16742267)
 * Hi,
 * Please remove all the customizations you have done and then apply the proposed
   solution.
 * Currently I see that you still have wrong CSS customizations, for example:
 *     ```
       .translated-ltr .language-selector a:first-child {
           opacity: 1 !important;
       }
       ```
   
 * Thanks! 🙂
    -  This reply was modified 3 years ago by [edo888](https://wordpress.org/support/users/edo888/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wrong language indication.’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [edo888](https://wordpress.org/support/users/edo888/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/wrong-language-indication/#post-16742267)
 * Status: resolved