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 }
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 }
You must be logged in to post a comment.
From qTranslate’s official support forums
The function to get the current language is
qtrans_getLanguage()