WPFront Notification Bar & WPML bug (solved by WPML team)
-
Hello,
I wasn’t able to translate the fields:
(*) Message Text
(*) Button Text
(*) Button Action
using WPML with the standard method of scanning the plug-in’s string.
So, I wrote to WPML support and they told me this:———————–
The problem is that this plugin is not correctly localized (this is a WordPress standard, not WPML suggestion), and this is why this plug-in deosn’t work.To fix the problem temporarily, you can edit the file you find in this directory:
/wp-content/plugins/wpfront-notification-bar/templatescalled “notification-bar-template.php”.
Go to line 71 and you will find this code:
<? php echo $ this-> get_message_text (); ?>
Change it as:
<? php _e ($ this-> get_message_text (), ‘notification-frontend’); ?>
Now, you can follow this guide:
This time you will find 2 identical strings, the correct one is the one with the domain “notification-frontend”.
———————–I did it and, now, it works.
The problem is that we need to do the same also for the fields:(*) Button Text
(*) Button Action
Can you fix this bug?
- The topic ‘WPFront Notification Bar & WPML bug (solved by WPML team)’ is closed to new replies.