• Resolved 92bambino

    (@92bambino)


    Dear Support!

    I want to ask you, is that possible to hide some text, that I do not want to translate?
    I figured out, I can tranlate text to an empty “p” tag (like this: <p></p>), but it generates an empty line.
    Do you have a solution to this problem?

    Thanks for your help in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    for me   works as well. Maybe this suits your needs?

    Best
    Stefan

    Thread Starter 92bambino

    (@92bambino)

    Not quite right.
    Imagine you have 5 line of text. You want to translate the first, and the last line. If you put the “<p></p>” tags on the second, third, fourth line then you will have 3 empty lines between the two translated lines.
    Its eve worse if you have a list with bullett points because the bullet points will remain.

    Thread Starter 92bambino

    (@92bambino)

    The Support helped me out, here is the solution:
    You can use shortcodes that acts as conditional logic, so you can show totally different text in different languages.
    Like:
    [trp_language language=”en_US”]English text only[/trp_language]

    [trp_language language=”hu_HU”]Hungarian text only[/trp_language]

    So if you have two languages (for example engllish and hungarian) whatever you put in the place of “English text only” will only be displayed on the english version of the page, and same goes for the hungarian.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide untranslated text’ is closed to new replies.