Support » Plugin: RSVP and Event Management Plugin » Make RSVP easier to localize

  • Hi,
    As one of the translation editors, I just checked some strings that had been submitted by one of your users.
    While doing this, I noticed that you seem to be combining strings in some places, for instance:
    $body .= stripslashes_deep( $attendee->firstName ) . ' ' . stripslashes_deep( $attendee->lastName ) . ' ' . __( 'has submitted their RSVP and has RSVP\'d with', 'rsvp-plugin' ) . ' \'' . $attendee->rsvpStatus . "'.\r\n";

    With this string, you make it impossible for the translator to put the words in the order that may work best in the target language.

    Better to use printf() and allow the translator to place the name and the response separately (as %1$s and %2$s ).
    By the way: Did you know that many cultures usually pronounce the family name first, and then the given name?

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

    (@mdedev)

    Hi @tobifjellner,

    I will go through and get those changes made. Thanks for letting me know.

    -Mike

    Plugin Author mdedev

    (@mdedev)

    Hi @tobifjellner,

    FYI – I released 2.6.3 which fixes the problems you raised. Let me know if I missed something.

    Thanks,
    Mike

    I had a quick look and spotted only one simple one:
    'Thank you ' and
    ' for RSVPing. To modify your RSVP just come back to this page and enter in your first and last name.'

    Couple of more suggestions:
    For the string You have already added %1$d additional rsvp\\\'s you can add no more. it would be good to use _n()

    Break out the leading space in: ' You will also need to know your passcode which is' and place that passcode (with formatting) in the string as %s.

    Plugin Author mdedev

    (@mdedev)

    Hi @tobifjellner,

    Thanks for the feedback. I will get these items incorporated.

    -Mike

    Plugin Author mdedev

    (@mdedev)

    Hi @tobifjellner,

    I just released 2.6.4 which has the thank you and the leading space change in it.

    -Mike

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make RSVP easier to localize’ is closed to new replies.