seb06
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeOk, so do you know how I can prevent wordpress to upload its own files??
Best
Forum: Plugins
In reply to: [WooCommerce] How to display order custom field into checkout??Hello,
Sorry, I forgot to specify that I use a plugin that make quote and create “orders” which are not fulfilled, but the order exist in the order admin panel of woocommerce (it is the YITH Request a Quote plugin)
So do you know which code snippet of code can I use to get the current order id?
Best Regards,
Forum: Plugins
In reply to: [WooCommerce] How to display order custom field into checkout??Any idea please?
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeAnother things for your information:
For loading custom translation files, I would like to state that the variable “plugins_loaded” doesn’t works into add_action but only the variable “init” works !
DOESN’t WORK: add_action( ‘plugins_loaded’, ‘load_custom_plugin_translation_file’ );
WORKS add_action( ‘init’, ‘load_custom_plugin_translation_file’ );
Could you please confirm?
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeOk so I removed the original files of woocommerce into wp-content/languages/plugins and they appears again!!!!!!
So I conclude that wordpress or woocommerce check this folder and add the files if they does’nt exist.
But the problem is that my own files are not more working, even if they still exist in my custom folder !!
Do you know if there is an automatic system to remove into wordpress or woocommerce???
Please help???
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeyes ok so replacing files into the wp-content/languages/plugins is normal !
But when I opened my own files, the modification was lost, so i conclude thatsomething has overwritten my own files into my custom folder, and I found this incredible
How is it possible?
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeI have the impress that woocommerce load by default the files in wp-content/languages/plugins and if replaced by my own files in that folder, it overwritte them???
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeHello,
I am seing that the system put again woocommerce-fr_FR.mo and woocommerce-fr_FR.po automatically in wp-content/languages/plugins, as I had removed them from that folder !!!!!!
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeHi mike,
If you read my first post here, I already explained all.
So the custom path I am putting my custom files woocommerce-fr_FR.po and woocommerce-fr_FR.mo is wp-content/languages/my_custom_folder/
wp-content/languages/my_custom_folder/woocommerce-fr_FR.po
wp-content/languages/my_custom_folder/woocommerce-fr_FR.moI have the php code above to load my custom files and there are correctly loaded but my translation stay online maybe for 2/3hours and then I refresh my website and the previous original french translation come back !!!
I do not understand what is going on??
I have Avada Theme, could it be avada that act into the code???
Best,
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeHello Mike
I am not talking about overwritting during updates.
I am saying that if I put a file right now, it will be overwritten in maybe 2 hours maximum !!!!!
there are no update and I didn’t update any plugins.
it is really weird.
I put my custom files into my custom folder and with my custom code in my function php and then the translation display correctly maybe for a maximum period of 2 or 3 hours !!!
After the 2/3hours, I refresh my website and the original version of woo commerce come back !!!
Please any clue???
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timebut overwritten by wordpress why??
I exactly did what is described in the link you sent me?
did you read my first post???
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeHello Mike,
Thanks for this link, but in fact, I already follow that page to do what I wanted But it doesn’t works !
I do not understand why??????
I took the woocommerce-fr_FR.po file generated by wordpress, which contained a lot of strings translated in french and I modified that field and add my own translation.
I then add the code above and create a folder in /wp-content/languages/my_custom_folder/ and put my file here !
But it is replaced inside that custom folder after some hours !
It is incredible, I do not understand what I missed??
Could you please help me?
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeHello,
When I place my files into the wp-content/languages/plugins/, my custom files are replaced by another version after a certain amount of time and I do not know why
I can see my change on woo commerce for some hours and after it disapears !
Could you please help.
Forum: Plugins
In reply to: [WooCommerce] Custom po/mo files replaced after a certain timeI want to correct, after some hours (10hours maybe), I saw that something has replaced my po and mo files by the original woo commerce version.
But the most incredible, is that it seems that the replaced files has been put into my custom folder !!!!
How woo commerce can do that???
Could you help please?
How can I put my own po/mo files securely and in an update safe place?Best
Ok thanks,
Another think, if I disable XML-RPC functionnality, does it affect ALL in one SEO ?
Best