BUG: This message just won’t go away no matter how many times you close it, it comes back after refreshing the page.
function td_on_translate_admin_notices() {
?>
<div class="notice notice-success is-dismissible">
<p><?php _e('WPML Plugin is active! When the plugin is active, the *.po - *.mo files are used instead of Theme Panel Translation.', TD_THEME_NAME); ?></p>
</div>
<?php
Hello CreepyRavioli,
If you will use the WPML plugin you do not use the Translations settings from our Theme panel and that’s why you will bring this warning. Please check the following tutorial here -> https://forum.tagdiv.com/using-theme-translations-together-wmpl/
Thanks for your understanding!
Ok i downloaded translation.zip and extracted it on /Newsmag but the warning doesn’t go away. How can i make it go away?
Any news on this?
I do understand why you push this front left and center, because it must have created loads of support questions for you. I did ask, how translations work.
But now, after one week, I do know it.
How can I permanently switch this off?
Hi andxtagdiv, please check the answer from this topic -> https://forum.tagdiv.com/topic/wpml-plugin-is-active-when-the-plugin-is-active-the-po-mo-files-are-used/
Also if you are using Newspaper theme and not Newsmag, yo can check the new options of using WPML with Newspaper, here is a topic with few examples -> https://forum.tagdiv.com/topic/translate-newspaper-templates-with-wpml/
Thank you!
This does not seem to work (anymore)
function td_on_translate_admin_notices() {
?>
<div class="notice notice-success is-dismissible">
<p><?php _e('WPML Plugin is active! When the plugin is active, the *.po - *.mo files are used instead of Theme Panel Translation.', TD_THEME_NAME); ?></p>
</div>
<?php
Hi andxtagdiv, if you want to remove that message, you need to comment this line of code -> https://i.imgur.com/CtBzi7c.png like this -> https://i.imgur.com/DLtPfyW.png and the function that you mentioned will no longer be call, also the path to the file is -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_translate.php
Hope this will help you!
Is this still the way to do it?
you need to comment this line of code -> https://i.imgur.com/CtBzi7c.png like this -> https://i.imgur.com/DLtPfyW.png and the function that you mentioned will no longer be call, also the path to the file is -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_translate.php
-
This reply was modified 5 years by
andxtagdiv.
Hi andxtagdiv,
If you are referring to this notice from Newspaper -> https://i.imgur.com/x3acQFK.png then yes, you need to comment that lines. Our developers said that there are users that use that info to know what file to edit when are using the WPML plugin, then I made a suggestion, maybe they can add an option to disable the message.
Thank you for your understanding!