• Resolved nicola82

    (@nicola82)


    Hi,

    I would like to translate the banner in another language, I am using WPML but apparently they are not compatible.

    Thank you in advance for your support.

    Kind Regards,

    Nicola Accialini

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    Hi Nicola, the plugin is currently not WPML compatible, but i am working on a fix that should alleviate this issue.

    Hello !

    Thanks for your great plugin.
    Do you have any news on the fix?

    Plugin Author rpetersen29

    (@rpetersen29)

    Hi @benjab
    Still in the backlog, the recent influx of downloads has brought to light a few more pressing issues. This feature will hopefully be coming in the next month.

    Great banner. I am also waiting for a WPML translation to be available.

    Plugin Author rpetersen29

    (@rpetersen29)

    I’m planning on implementing this soon. One drawback is that it requires a wp_body_open hook to be existing in your theme. This hook was recently added in Wordpres 5.2.0 so it may not be implemented on your theme. Please check your theme for the hook. When implemented i will add instructions for adding the hook to your theme to make translation possible.

    Plugin Author rpetersen29

    (@rpetersen29)

    hi @tedmackay1 @benjab @nicola82
    The recent update, 2.6.0, enables the wp_body_open action if your theme uses it. Enabled the action in the Simple Banner settings page and i believe your translation plugins will be able to see it. Please let me know if this fixes this issue.

    WP TeVeoOnline

    (@franrodriguezteveo)

    Good morning @rpetersen29

    I have tried this function, but when I activate it the banner disappears from the web.

    Is there anything else to do?

    Is there any other way to translate it?

    Plugin Author rpetersen29

    (@rpetersen29)

    Hi @franrodriguezteveo
    If you have enabled wp_body_open and the banner is not showing, this most likely means that your theme does not have the wp_body_open hook in it. You will need to add the wp_body_open tag to your theme code,?https://generatewp.com/wordpress-5-2-action-that-every-theme-should-use/ (see?New Theme Structure).

    Hi,
    I didn’t understand how wp_body_open is used for banner translation. I use wpml.
    can you help me?
    thanks

    Plugin Author rpetersen29

    (@rpetersen29)

    Hi @federico_a
    wp_body_open is a wordpress hook that allows the banner to load quicker, enabling some translation plugins to see the text and translate. In the future, please open a new support ticket instead of commenting on a 4 month old ticket.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘SImple Banner Translation’ is closed to new replies.