Request: Disable file existence check to generate JSON files.
-
Hi,
I’m a developer at Automattic and we have been investigating an issue reported by a user with one of our plugins (WooCommerce Paid Courses for Sensei) and Loco Translate.Basically we are packaging our plugin in a way that makes this check here fail so the translation JSON files are not generated.
We were wondering if it would be possible to have some filter so that we can skip that file check. We have done some tests with that check disabled and everything worked for us.
Another alternative is maybe having some filter not for skipping the check but to be able to “fix” the route for Loco Translate. We can’t use
load_script_textdomain_relative_path
because we need that to return the “fake” path so we generate the same md5 and are able to use the same translations.Let us know what you think on this or any other alternatives.
Thanks for your help!
- The topic ‘Request: Disable file existence check to generate JSON files.’ is closed to new replies.