• I’m using the Loco Translate plugin to translate a plugin, but initially I sent the translation to both the system folder (languages/plugins) as well as the author’s folder (plugin/languages).
    As I realized that the translation only worked on the author’s folder, I deleted the file from the system! But the issue is that the file always appears again in the system, giving a translation error on the frontend of my site!
    I delete it several times a day, but the file always appears in the folder again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    Thread Starter markk26

    (@markk26)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘System’ is closed to new replies.