Plugin Author
Tim W
(@timwhitlock)
Are you asking a question?
Loco Translate does not control your WordPress auto-updates. You will have to disable them, or control them with filters.
Also, WordPress gives priority to “system” translations over author-provided translations. Loco Translate cannot control this order of priority either.
The recommended way to add your own translations is as documented: https://localise.biz/wordpress/plugin/custom-translations
No, I did not refer to WordPress updates!
I said that at all times the translated file appears in the system folder, that is, languages/plugin, no matter how many times I delete this file, it will always appear alone, without me doing anything!
In the end, when I check, I have the same file in 2 folders (both in the plugin/language folder and in the language/plugin folder) !
My question is: how to prevent Loco plugin from automatically creating the file in both folders ??
Plugin Author
Tim W
(@timwhitlock)
No, I did not refer to WordPress updates!
I referred to WordPress updates, because WordPress routinely installs translation files without you doing anything. My plugin does not.
how to prevent Loco plugin from automatically creating the file in both folders ??
It doesn’t do this.
If you add a new file, that’s what it creates. If you find other files magically appearing in the WordPress languages directory then I suspect WordPress is installing them.