• Resolved mjefferson96

    (@mjefferson96)


    We will have multiple calculator apps that are embedded code as they are hosted by the app creator. We need to have different version of the app embedded for different countries and/or languages, but the translator will not allow us to edit the code. Is there a way to see or edit code directly, even just html, within the translatepress editor, or another way outside of the editor?

    Screen shot: https://easycaptures.com/fs/uploaded/1546/0200670201.jpg

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    What you can try to do is to use our shortcode. You can read more about it here: https://translatepress.com/docs/translation-shortcode/

    Here is an example of how it should work:

    [trp_language language=”en_US”]
    Embedded code for the English version
    [/trp_language]

    [trp_language language=”fr_FR”]
    Embedded code for the French version
    [/trp_language]

    You will have to replace the en_US/fr_FR with the ISO code for the languages that you want it to work. You can find the code by going to: Settings -> TranslatePress -> General. Each language has a code and that’s the one you need to use.

    Let me know if this worked for you.

    Best regards,
    Cristian

    Since more than 5 days have passed since the last answer given by my colleague, we will close this ticket, and we recommend you if you have another question or want to continue the troubleshooting process with this one – to create another ticket.

    Thanks for understanding,

    Cheers,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot replace code as needed in translation editor’ is closed to new replies.