Support » Plugin: Business Hours Indicator » Use the plugin with different language sites

  • Resolved itism64



    Using the plugin for a few websites and works great. I am building a multi-language website (with WPML plugin) how to do translate the “we are open” and all other related text?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maarten Belmans


    Hi @itism64

    There are 2 ways of achieving that:

    1) most translation plugins will allow you to also translate plugin settings.
    2) You can edit the messages when using the shortcode. For example [mbhi openmessage=”Message in French”].

    Let me know if that’s unclear!

    Hi @maartenbelmans

    Thanks for the quick reply. I am sure option 1 must work as this plugin is most used for translation. The only point is I can’t find the “string”

    This is what support of WPML asked

    Is this “configurable” text for your theme or a plugin? If so, it may be that it needs to be registered for translation in the Strings table.

    And as your plugin is configurable text it normally shoots appear to translate

    But “wij zijn open” is not available when I search. I added in the field the translation I think is used in your plugin but does not change the text. or must I place here shortcodes what you mentioned?

    Another option WPML has is [wpml-string]Wij zijn open[/wpml-string] not sure if that works with your plugin ?

    Any suggestion?


    Plugin Author Maarten Belmans


    I think I know what might be causing the WPML plugin to be confused and miss our translateable text. I will launch an update of the plugin somewhere next week that should solve this.

    Are you planning to use Business Hours Indicator in your PHP code? If NOT, I would suggest going the 2nd route where you just use our shortcodes and translate texts in the options of the shortcode.

    I know WPML allows you to create different versions of posts, pages, or even widgets. So you could create a different version for your 2nd language and then just change the options in the shortcode.

    Am I making sense? 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use the plugin with different language sites’ is closed to new replies.