Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 }
share|improve this question
Are you referring to qTranslate ??? – Zlatev Oct 5 '12 at 9:30
yes but i cant find any result – samilsoft Oct 5 '12 at 10:04

1 Answer

From qTranslate's official support forums

The function to get the current language is qtrans_getLanguage()

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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