1

I used qtranslate for make my website multilingual, In fact this plugin just make an option for my content to has another translate, but how can i use it in my code? for example:

if ( $language == "ar" ) {
 // somthing }
  • Are you referring to qTranslate ??? – Z. Zlatev Oct 5 '12 at 9:30
  • yes but i cant find any result – sparkmood Oct 5 '12 at 10:04
1

From qTranslate's official support forums

The function to get the current language is qtrans_getLanguage()

Not the answer you're looking for? Browse other questions tagged or ask your own question.