• Resolved Steeven

    (@steeven)


    The [trp_language] shortcode https://translatepress.com/docs/translation-shortcode/ that allows for language dependent content does not work.

    It is simply not displaying.

    I have a site in UK English that I translate to Danish, and I tried using both

    [trp_language language="dk_dk"] text text text [/trp_language]
    [trp_language language="en_uk"] text text text [/trp_language]

    None of these have any effect in any of the languages. They are simply ignored and not shown. I have tried deactivating all of my other plugins except for the key ones (I use Learndash e-learning platform with the BuddyBoss Social platform, so I have had those two plugins activated only).

    Since the shortcodes are not just written out in clear text, they are clearly being recognised by the TranslatePress plugin. But they are not showing anything. Could there be a fix? What is the issue here? Am I simply using the shortcode wrongly in some way?

    • This topic was modified 4 years, 3 months ago by Steeven.
    • This topic was modified 4 years, 3 months ago by Steeven.
    • This topic was modified 4 years, 3 months ago by Steeven.
    • This topic was modified 4 years, 3 months ago by Steeven.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Steeven

    (@steeven)

    It seems that I mistook the arguments to the shortcode.

    Thread Starter Steeven

    (@steeven)

    Also, it seems that the shortcode [trp_translate] does not work properly when translation are simultaneously done via the visual editor.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[trp_translate] shortcode doesn’t work’ is closed to new replies.