Title: WPML Compatibility
Last modified: August 31, 2016

---

# WPML Compatibility

 *  [Amit Kvint](https://wordpress.org/support/users/webifish/)
 * (@webifish)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatibility-78/)
 * Hi,
 * My name is Amit and I am in charge of compatibility between WPML and other plugins
   and themes. I’m writing to you about helping to resolve an issue between WPML
   and WPFront Notification Bar.
 * To replicate please follow these steps (with WPML activated):
 * 1. Click on the WPFront > Notification Bar
    2. Select the “Enable” checkbox 3.
   Look for ‘Message Text’ and insert some text 4. Click on the ‘Save Changes’ button
   5. Click on the WPML > String Translation. The string will not be available for
   translation 6. Click on the WPML > String Translation > Translate texts in admin
   screens » 7. Look for ‘wpfront-notification-bar-options’ and click on this link
   8. Look for ‘message’ option and check the box 9. At the end, click on the on
   the Apply button 10. The string is added to the String Translation 11. Try to
   translate the string and go to the front-end, note that the translation is not
   displayed.
 * (reported in [https://wpml.org/forums/topic/translation-of-wpfront-notification-bar-plugin/](https://wpml.org/forums/topic/translation-of-wpfront-notification-bar-plugin/))
 * We have already debugged and offered a solution to the client, and would like
   to ask you to consider adding to your plugins code:
 * 1. Use the wpml-config.xml file or the “Translate texts in admin screens” option
   to add this string to translation (more info here:[https://wpml.org/documentation/support/language-configuration-files/](https://wpml.org/documentation/support/language-configuration-files/))
 * 2. In the wpfront-notification-bar\templates\notification-bar-template.php file
   change the following code (around line 104)
    <div class=”wpfront-message”> <?
   php echo $this->get_message_text(); ?> </div>
 * 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>[https://wpml.org/wpml-hook/wpml_translate_single_string/](https://wpml.org/wpml-hook/wpml_translate_single_string/)
 * We’d like to ask your help in resolving that issue, we want our shared clients
   to have a fast solution and reduce future support requests.
 * Please keep me updated if you need any more help from us,
 * Thanks!
    Amit
 * [https://wordpress.org/plugins/wpfront-notification-bar/](https://wordpress.org/plugins/wpfront-notification-bar/)

The topic ‘WPML Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/wpfront-notification-bar/assets/icon.svg?rev=1672432)
 * [WPFront Notification Bar](https://wordpress.org/plugins/wpfront-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpfront-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpfront-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpfront-notification-bar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Amit Kvint](https://wordpress.org/support/users/webifish/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wpml-compatibility-78/)
 * Status: not resolved