Support » Plugin: Delete Me » Button Translation

  • Resolved Andrei

    (@andrei0luca)


    Hi Clinton,

    Great plugin, thank you for sharing this.

    I would like to use the form because it requires the user to confirm his password. For multi language purposes I need it on multiple pages. In each page with a different translation for the CONFIRM DELETION button.

    Could you please recommend a method to change the content of the button for each page? I’ve tried everything and I’m stuck. Maybe you have a php filter or something.

    Thank you,
    Andrew

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

    (@cmc3215)

    Thanks for your question, Andrew.

    It sounds like a case where I should add an optional shortcode attribute for you to override that global setting. I’ll try to get this done sometime between now and the weekend.

    Otherwise, the only way would be to have Delete Me language .pot files for each language and then set the page language in WordPress. I’m not sure how familiar you are with .pot files and all that though.

    Kind regards,
    Clint

    Thread Starter Andrei

    (@andrei0luca)

    Hi Clint,

    Adding this capability would be great. It would provide greater flexibility for your users.

    Thank you,
    Andrei

    Plugin Author cmc3215

    (@cmc3215)

    Latest release, Delete Me 3.0 includes the following new shortcode attributes for the form:

    form_confirm_warning, form_password_label, form_confirm_button

    Thread Starter Andrei

    (@andrei0luca)

    If you could provide a couple of words in the plugin documentation,
    What the new shortcodes do and how we can use them.

    Great support,
    Thank you!

    Plugin Author cmc3215

    (@cmc3215)

    There is a bit of explanation on the Delete Me Settings page under Shortcode where it says Usage.

    Basically, Shortcode attributes are like HTML tag attributes. In the case of Delete Me, all Shortcode attributes are optional as they are only used to override what has been set on the Settings page.

    The new Shortcode attributes for the form follow the 3 form settings on the Settings page: warning, password label, and confirm button.

    Example usage:

    [plugin_delete_me form_confirm_warning="Warning: You sure you want to delete your account?" form_password_label="Confirm Your Password" form_confirm_button="Click Here to Delete Your Account" /]

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