• Resolved Jeremiewp

    (@jeremiewp)


    Hello,
    First at all , many thanks for this plugin. I’d like to know if it’s possible to translate the sidewide message for multilingual website ?
    Thanks you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @jeremiewp

    Thank you for using Sitewide Notice WP.

    The message itself isn’t translatable, at this point in time you would need to edit this line of code dynamically – https://github.com/andrewlimaza/sitewide-notice-wp/blob/dev/sitewide-notice-wp.php#L186

    I have added it to our development schedule to include a filter for this message to make it easily adjustable and extendible for cases like yours. I do not have an ETA when this will be released but I hope this helps to get you started.

    Kind Regards,
    Andrew

    Plugin Author Andrew Lima

    (@andrewza)

    I’ve just added a filter in as a pre-release called ‘swnza_banner_text’ which will work for you. You will need to grab the pre-release from Github -https://github.com/andrewlimaza/sitewide-notice-wp/tree/dev and add it to your site and then filter on the ‘swnza_banner_text’ hook.

    If you need help with this, please feel free to reach out to a local WordPress developer.

    • This reply was modified 4 years, 4 months ago by Andrew Lima.
    • This reply was modified 4 years, 4 months ago by Andrew Lima.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translate message’ is closed to new replies.