I have an issue, which is not directly connected to the theme, but I hope you have an idea about this anyway.
I have made a site for a client, who needed some translations in WooCommerce, because the regular Norwegian terms that are used in the translations files were not suitable for his use.
First, I made these changes in the translation files, before realizing that Wordpress is updating these.
So I found a code for making WP not update: add_filter( 'auto_update_translation', '__return_false' );
But this is not working. The translation files are still updating every time WP or any plugin is updated.
I tried to move translation files to the child theme, with no luck.
Then I tried this function, which makes translation in the functions.php:
It is great question that you ask, however even I gave it 30 minutes I don't know the best answer.
Copy your question to general WordPress forum and there you should find someone that will push you in right direction, as you seem to be close to answer.
Comments
It is great question that you ask, however even I gave it 30 minutes I don't know the best answer.
Copy your question to general WordPress forum and there you should find someone that will push you in right direction, as you seem to be close to answer.
Good luck!
With kind regards.