• Resolved w-sky

    (@w-sky)


    Hello, we successfully installed PTA Volunteer Sign Up Sheets on our German site and strangely, a few strings on the front end show in English, although the translations are complete as I was able to confirm by looking at the translations with Loco Translate.

    These are the links “View & sign-up” on the main page and “View all Sign-up Sheets” and “Sign up” on the sheet page. All other strings are displayed with their translation.

    Can we fix it?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    I’m not sure why that is happening, as I just double-checked my code and those text strings you listed are properly prepared for translation, and the line numbers of the public file match those for the same strings in the .pot files.

    Can you email me privately and send me your translation file, and I’ll see if I can set up a German language install here and test to see if I can figure out what’s happening.

    If it’s some weird quirk with WordPress translation functions, there is a way around it, as I also run almost all public side text strings through my own filters that allow people to customize all the public side text using the Customizer extension:
    https://stephensherrardplugins.com/plugins/pta-volunteer-sign-up-sheets-customizer/

    Using that extension, you can quickly modify all public side text without having to setup your own translation files. So, if all else fails, you could use that. The Customizer has quite a few other layout options and features as well.

    Thread Starter w-sky

    (@w-sky)

    Hello, big thanks for replying so fast! ?? I did not make changes to the translation file with Loco Translate before I have noticed that error, so it is the original German translation that came with your plugin.
    I also just used Site Health Troubleshooting Mode to confirm it’s not a problem with any other plugin or with our theme.

    However then I noticed an error message by Loco Translate: The .po file was not in sync with the template. After the synchronization was done with Loco Translate, it now is showing the missing strings untranslated, and I was able to add the translations manually.

    So it seems the German translation file was not up-to-date with the rest of the plugin!

    Plugin Author DBAR Productions

    (@dbar-productions)

    Yes, most of the translations are quite old as they have been submitted long ago by other users, and many updates/changes have happened since those translation files were created.

    Feel free to send me the updated translation file, and I can include it in my next release (if I remember).

    Thread Starter w-sky

    (@w-sky)

    Maybe you can use https://translate.www.ads-software.com/locale/de/default/wp-plugins/pta-volunteer-sign-up-sheets/ ?
    It’s much easier to contribute to translations there.

    Plugin Author DBAR Productions

    (@dbar-productions)

    They set up that system several years after I initially released my plugin (which was a fork of another plugin), and the text domain of my plugin does not match the plugin directory name, so that method does not work. The only way I could do that would be to change all the text domain strings for every piece of text (and my pot file) to match the plugin directory name, which would then break any existing translations people are using when they update to the changed version. That’s why if you click on that link it says my plugin is not properly setup for translation… it is actually setup for translation properly, but not the way they now want the directory and text domain names to match.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translation of some strings is not displayed’ is closed to new replies.