Title: Conditional language shortcode problem
Last modified: December 3, 2020

---

# Conditional language shortcode problem

 *  Resolved [kiralyandras](https://wordpress.org/support/users/kiralyandras/)
 * (@kiralyandras)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/)
 * Hi! I searched through the forum, but didn’t find exactly this problem, so I 
   think it’s OK to create a new topic.
 * I’m using the [trp_language] shortcode on a dual-language site, but the problem
   is that the selected content turns hidden on both languages. I add [trp_language
   language=”hu_HU”]Hungarian text only[/trp_language] to the page and it hides 
   the hungarian text on the english version, but does this on the hungarian too.
   As a test I tried this on other pages, and the result is the same.
 * How can I check what went wrong?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-language-shortcode-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Alex](https://wordpress.org/support/users/alexcozmoslabs/)
 * (@alexcozmoslabs)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/#post-13866256)
 * Hi,
 * I’ve just tried to replicate this but seems everything is working just fine.
   
   But what I noticed is that the shortcode is not working properly on the sample-
   page (the WP default one, when you install the WP ecosystem)
 * However, if the problem still persists, I suggest opening a ticket on our website
   because we will need to investigate this in detail.
 * Best Regards,
 *  Thread Starter [kiralyandras](https://wordpress.org/support/users/kiralyandras/)
 * (@kiralyandras)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/#post-13866776)
 * Thanks for the reply, but I must finalized the site so bypassed the problem with
   creating parallel content for every element, therefore I don’t need to skip paragraphs
   anymore.
 *  Plugin Support [Alex](https://wordpress.org/support/users/alexcozmoslabs/)
 * (@alexcozmoslabs)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/#post-13902025)
 * Hi,
 * Thank you for let us know how did you manage this.
 * Kind Regards,
 *  Thread Starter [kiralyandras](https://wordpress.org/support/users/kiralyandras/)
 * (@kiralyandras)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/#post-13902853)
 * Originally there were paragraphs that don’t need translation, so I would liked
   to hide it with the shortcode. Because it didn’t work I created content for every
   paragraphs, so I don’t need to skip any of them anymore. It is not a solution,
   just a workaround.
 * I’m still interested why doesn’t it work on my site, but I have no more time 
   to search the real solution.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Conditional language shortcode problem’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [language](https://wordpress.org/support/topic-tag/language/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 2 participants
 * Last reply from: [kiralyandras](https://wordpress.org/support/users/kiralyandras/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/conditional-language-shortcode-problem/#post-13902853)
 * Status: resolved