• anonymized-14293447

    (@anonymized-14293447)


    I’m pretty sure I was working on a child-theme file. Now Loco suddenly only shows parent-theme file. Plus, the Loco folder has the parent-theme-it_IT.po both in “themes” and “plugins” subfolders. Is it normal, or something has gone wrong?

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

    (@timwhitlock)

    Loco Translate saves theme translations into the themes sub-folder only. I have no idea what has gone wrong or why you are seeing what you are seeing. If you think there is a bug then please provide steps to reliably reproduce it.

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    From Loco backend I can see 2 bundles of the child-theme (with the last modified date), but when I click on it I get the message that no translations are found for that, and it’s the parent-theme that shows the last modified date. Then I’m not sure what file I’m modifying.

    Maybe translating a child-theme is useless anyway, but I don’t understand this behaviour/logic.

    Plugin Author Tim W

    (@timwhitlock)

    I don’t know how you are seeing this. Did you configure your child theme settings in Loco Translate manually, or did it pick it up automatically?

    – Please show your child theme config under the Advanced tab.

    – Please show your child theme header comments in style.css

    Plugin Author Tim W

    (@timwhitlock)

    Actually I do know how you are seeing this. The issue in your last screenshot is only the title used in the breadcrumb. Because you drilled down from your Child theme it still shows that for context. That might seem confusing, but the file is still correct is it not?

    The issue that no translations are found for the child theme also seems correct. There are none in your screenshot. If they are on disk somewhere else then I don’t understand how, except I would guess a configuration was set up wrongly.

    I’m struggling to see the issue here, and I don’t how theme translations could end up in your plugins unless you wrongly configured a plugin to share the same text domain as your theme.

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    Thank you for your help. I believe I have used Loco correctly and have created custom translation as it’s supposed to be, i.e. automatically within the Loco settings.. in fact, translations are working fine and they don’t get deleted on theme’s update.
    About the issue, here’s the config/header you asked for. You mention the breadcrumb and I believe the file is correct. But I remember I was getting both child and parent files, now Loco shows me only the parent one.
    Yet, the file under plugin/theme folders has the same name (wyzi-business-finder-it_IT.po) but different last modified date. So maybe I need to delete them both and start from scratch in order to see if it’s my theme that throws the file in both folders. But how do I backup? Download the .po file or what?

    I’m not sure I’m grabbing it. I’m lost 🙁

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    It’s getting worse. Now translations are not pulled anymore. They are in my staging site but not the production site. I cannot overwrite the files because I noticed they are very different, not just the strings but many many more information inlcuded in the -po file

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    ….I noticed that the un-synced file contains more, and if I synchronise I will get less strings… very confusing, because “to sync” means “to update”, not “to delete” strings

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

The topic ‘theme.po file in plugin folder’ is closed to new replies.