This thread is resolved. Here is a description of the problem and solution.
It's impossible to translate the top message from the WPFront Notification Bar plugin.
The WPFront Notification Bar plugin is currently incompatible with WPML.
However, if you feel comfortable with code, you can use a workaround. To do this, follow the steps below:
1. Prepare a backup of your website.
2. Log into your FTP account.
3. In the root folder of the WPFront Notification Bar plugin, create a new file and call it wpml-config.xml. Paste the following code in there:
<wpml-config> <admin-texts> <key name="wpfront-notification-bar-options"> <key name="message" /> </key> </admin-texts> </wpml-config>
You should now be able to translate the message on the WPML->String Translation page. If the string is not there, please rescan the plugin for strings on the WPML->Theme and plugins localization page.
4. In the WPFront Notification Bar plugin folder, go to the templates/notification-bar-template.php file and open it for editing.
5. Around line 104, you will have the following code:
<div class="wpfront-message"> <?php echo $this->get_message_text(); ?> </div>
Change it to:
<div class="wpfront-message"> <?php echo apply_filters( 'wpml_translate_single_string', $this->options->message(), 'admin_texts_wpfront-notification-bar-options', '[wpfront-notification-bar-options]message', apply_filters( 'wpml_current_language', NULL ) ); ?> </div>
11/24/2020 update by Itamar
The suggested solution here still works as of this date. The line to change in the templates/notification-bar-template.php file is not around number 119.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.