• Resolved veganliebe

    (@veganliebe)


    Hi,
    I’m using your plugin and have one issue: The translation of the success message is not translatable! I have used the editor of your plugin, the Poedit translation and even WPML String translation management – but none of these are working. How can I translate the success message?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter veganliebe

    (@veganliebe)

    Hi,

    It’s me again. I just found the line, which causes the issue: registrations-for-the-events-calendar/inc/form line 307. For some reason the placeholder in this line is not translatable with Poedit. Could you please take a look into this!

    Thanks!
    Katja

    Plugin Author roundupwp

    (@roundupwp)

    Hey Katja,

    Sorry for the confusion!

    Have you tried changing the setting “Messaging Source” to “Translations”? This will force the plugin to use translation files instead of the custom text saved in settings. You can find it on the “Form” tab.

    Let me know if this isn’t helpful and I’ll take a closer look!

    Thanks,

    Craig

    Thread Starter veganliebe

    (@veganliebe)

    Hi Craig,

    Thanks for your response! Yes, I’m using “Translations”, but still got the same issue. The translation of the success message doesn’t work after translating the .po-file. Could you please take a look into it?

    Thanks,
    Katja

    Plugin Author roundupwp

    (@roundupwp)

    Hey Katja,

    Ahh I think I see the issue now. In the last update this message appears sometimes with a period at the end “.” and sometimes without. I’ll fix this in an update that I’ll push out this week.

    In the meantime, do you want to try removing the period from those two lines of code to see if it helps?

    	    $success_text = isset( $rtec_options['success_message'] ) ? $rtec_options['success_message'] : __( 'Success! Please check your email inbox for a confirmation message', 'registrations-for-the-events-calendar' );
    	    $message_text = rtec_get_text( $success_text,  __( 'Success! Please check your email inbox for a confirmation message', 'registrations-for-the-events-calendar' ) );

    Sorry for the issue here!

    – Craig

    • This reply was modified 4 years, 5 months ago by roundupwp.
    Thread Starter veganliebe

    (@veganliebe)

    Hey Craig,

    Thank you! That works well! ??

    Best,
    Katja

    • This reply was modified 4 years, 5 months ago by veganliebe.
    Plugin Author roundupwp

    (@roundupwp)

    Thanks for letting me know!

    A period was added to the text in the latest release here.

    – Craig

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Success Message Translation’ is closed to new replies.