• Resolved tylerpeffer921

    (@tylerpeffer921)


    Hello!

    Love the maps plugin, I have used it all over my site. We are now translating our site over to Spanish using TranslatePress. The language switcher isn’t live yet, since we are not done translating yet, but the translated pages are live.

    For our home page:
    https://www.incalink.org

    Spanish home:
    https://www.incalink.org/es

    The map, halfway down the home page, clicks onto the ministry pages for each country, but I am unable to change these links based on language.

    TranslatePress offers HTML shortcode to separate content based on what language it is. Are you able to update the plugin for the Action Content section to be an HTML editor like the Tooltip Content?

    If this is possible, I should be able to use the shortcode to change the URL based on language.

    Here is the shortcode if you need it:
    [trp_language language=”en_US”] English content only [/trp_language]

    Thank you!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tylerpeffer921

    My advice would be clone your map to have one map for each language and then use each map shortcode on each language content.

    To render shortcodes in the action content or have the rich text editor, you’ll need the Pro version of the plugin. If you have questions about these Pro features, write us at https://interactivegeomaps.com/contact since we’re not allowed to discuss Pro features in these foruns, as per WP Forum Guidelines.

    Greetings, Carlos

    Thread Starter tylerpeffer921

    (@tylerpeffer921)

    Thank you so much for your response! Great solution, thank you. I did not realize that was a pro feature. Again, great plugin, thanks for all your hard work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change URL Content based on language’ is closed to new replies.