You might want to check Solution for Custom Menu Auto Converted Error in qTranslate-X first. We have added custom language URL by using qTranslate-X plugin. But now we want to change color of active language without ading any new CSS ID or Class.Lets see how we did it.
And this is how we did it:
Where there are 2 unique class .menu-item-30861 and .menu-item-30860 and we identify the language with this lang() property.