• Umberto

    (@umberto69)


    Hi all,

    i can’t understand something and I hope you can help me.
    I need to make some changes in some strings of this .po file
    However, I saw written:

    1. Warning: translations do not match the pattern. Run sync to update from directorys-pro.pot
    2. Warning: changes to this file may be overwritten or deleted when you update WordPress

    SEE SCREENSHOT

    I tried to sync in the past and lost most of the translation.
    Also, I don’t understand what I should do to not lose the translations I made because the file may be overwritten by an update.

    Could you give me directions on how to proceed so as not to lose my changes?

    Regards,

    Umberto

Viewing 1 replies (of 1 total)
  • Plugin Author Tim W

    (@timwhitlock)

    These are two separate issues –

    I tried to sync in the past and lost most of the translation.

    If you lose translations, its because your template says the source text doesn’t exist. If this is untrue, then the template is wrong and shouldn’t be used. This has nothing to do with the unsafe file location that you’re using.

    Have you read the documentation on the Sync function and working with templates?

    I don’t understand what I should do to not lose the translations I made because the file may be overwritten by an update.

    Please read the documentation on unsafe file locations and my guide to creating custom files that won’t be deleted.

Viewing 1 replies (of 1 total)

The topic ‘Run sync and overwrite’ is closed to new replies.