Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using qtranslate, and whenever selected language translation doesn't exists it outputs text like this: (English) This is english text. So it gives me (language) string inside the output. I'd like to get rid of this.

So that if I select russian language, and text is not translated yet I see english language text but no (English) attached automatically.

Any ideas how to do this? I looked in backend carefully and it doesn't seem to have any settings for this.

I'd do php trim or smth else but there should be easier way to do this...

share|improve this question
    
Copy the english translation over other languages. That's how i cope with it. –  Zlatev Oct 10 '12 at 12:34
    
@Zlatev I thought about this too, but this is such an ugly solution. I'd prefer to do something programatic. –  Sandro Dzneladze Oct 10 '12 at 13:15
    
I'm not sure if it's helpful, but I remember of setting a generic language all to deal with some empty content. That site is no more, and I'm not sure if I found this hint in qTrans forum or at WP.org. –  brasofilo Jan 5 '13 at 3:37
add comment

1 Answer

you should find this options in qtranslate configuration page: "hide not translated content" (or something similar to)

share|improve this answer
    
That's not helpful. Please provide more details and use Upper-/Lowercase letters. Thanks. –  kaiser Oct 10 '12 at 14:08
    
i can't understand what could change by using upper/lowercase letters. Anyway: if you choose that option (i do not know which is the correct label 'cause my wordpress setup is in italian by the way), qtranslate hide contents when they're not present in that specific language –  frabiacca Oct 10 '12 at 15:38
    
A) Please update your question with additional info B) It's about writing answers in proper Upper-/lowercase letters. At least this is no chat. –  kaiser Oct 10 '12 at 15:50
    
This just removes posts from the loop. I have different requirements. –  Sandro Dzneladze Oct 10 '12 at 17:12
add comment

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.