• Resolved webby1973

    (@webby1973)


    Hi,
    I used your fantastic plugin several times and now I upgraded to v. 2, but I have a problem: when I modify an translation which I had previously created I don’t see the changes in the frontend.
    I think there’s some confusion in the path to the translation files, or maybe Loco is not loading them and want to create new files.

    I see there’s a new safe location in Loco 2, is it better if I move the .po files there?

    Loco says “This bundle’s configuration has been automatically detected, but isn’t fully complete. No translation template for the “discoverypro” text domain. One file can’t be matched to a known set of strings.”
    I don’t think this is the problem, because it worked until now.

    Currently the languages files are in:
    /wp-content/themes/discoverypro/languages/discoverypro.po (this is the original one)
    /wp-content/languages/themes/discoverypro-it_IT.mo (my translation)
    /wp-content/languages/themes/discoverypro-it_IT.po (my translation)

    The issue is if I open “discoverypro-it_IT.mo” with Loco and translate new strings or modify already translated ones, I don’t see them loaded when visiting the website!

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

    (@timwhitlock)

    Is “discoverypro” the text domain for this theme?

    Thread Starter webby1973

    (@webby1973)

    Hello Tim, I think so, in the Advanced settings it’s “discoverypro”.

    Uhm now it’s working… maybe it was a cache problem.

    I will let you know if it happens again.
    Do you think it’s better if I move the translations to the new Loco safe position?
    Thank you.

    • This reply was modified 8 years, 4 months ago by webby1973.
    Plugin Author Tim W

    (@timwhitlock)

    Uhm now it’s working… maybe it was a cache problem.

    then all is well.

    Do you think it’s better if I move the translations to the new Loco safe position?

    Up to you. As yours is a premium theme I don’t think WordPress will install translation files automatically that overwrite your files. But I can’t say for certain.

    More on file locations here: https://localise.biz/wordpress/plugin/manual/msginit#locations

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loco 2 issue with already translated strings’ is closed to new replies.