Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Account deletion page – Localization

Simple Membership Plugin › Forums › Simple Membership Plugin › Account deletion page – Localization

Tagged: account deletion, localization

  • This topic has 15 replies, 3 voices, and was last updated 1 year, 2 months ago by admin.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • February 20, 2025 at 10:33 am #29745
    michel
    Participant

    Although the account deletion page is perfectly localized in several languages (French, in my case), it continues to display in English. Could you help me fix this?

    February 21, 2025 at 12:03 am #29748
    The Assurer
    Moderator

    What specific parts, text or messages are you speaking of?

    February 21, 2025 at 4:40 am #29763
    admin
    Keymaster

    The translation file for your language most likely contains missing strings and needs to be completed. The following steps will help you complete the translation in your language:
    https://simple-membership-plugin.com/translate-simple-membership-plugin/

    February 22, 2025 at 2:05 pm #29764
    michel
    Participant

    OK, let me sum it up.

    All segments of the part I’m talking about are perfectly localised in the System part, and also some are personalised by my me at another place to avoid being erased when an update pops. All with Loco Translate, named “simple-membership.pot”.

    I’m talking about the page that is created when any user/customer wants to delete their own account (it doesn’t exist as a page in WordPress, it’s not created by the plugin like several other pages).
    This page reads:

    Title: Confirm Account Deletion
    Body : You are about to delete an account. This will delete user data associated with this account. It will also delete the associated WordPress user account. (NOTE: for safety, we do not allow deletion of any associated WordPress account with administrator role).

    Bold: To proceed with the deletion process, please enter the current password for this user account.

    Then, there’s a place for the user to write they password, that is unsurprisingly…
    –> Password:

    Last, a button that reads “Confirm account deletion”, just before a “Back” link.

    All these parts are perfectly translated, but do not appear in their localized version (just in English), although all other translated parts appear correctly.

    That’s why I ask a way to fix this…
    I hope I made myself clear.

    Do you have any solution for this issue?

    Thanks in advance!

    February 23, 2025 at 2:26 am #29765
    The Assurer
    Moderator

    All these parts are perfectly translated, but do not appear in their localized version (just in English), although all other translated parts appear correctly.

    I’m sorry, but you lost us.

    February 23, 2025 at 2:53 pm #29766
    michel
    Participant

    Here’s a compass to guide you…

    Before writing in this forum, I checked that all the segments from this Deletion Account Page are correctly translated in French (they are).

    I also checked the source code, and those parts come from the Simple Membership plugin: class=”swpm-account-delete-heading”.

    They are correctly translated in French in the localized PO file, but still appear in English in the website.
    And to my knowledge, there are the only parts that stay in English while being translated.

    I hope you can help me with this 🙂

    If you want me to write down all the mentioned segments, or need an onsite check, please let me know.

    Thanks in advance!

    February 23, 2025 at 9:59 pm #29767
    The Assurer
    Moderator

    Which French .po file are you telling SWPM to use? There are TWO French .PO file,
    1.  *-fr_CA.po (CANADA).
    2.  *-fr_FR.po (FRANCE).
    The Canadian French file has some missing translations; specifically for the “Confirm Account Deletion” string, which would just appear in English.

    February 23, 2025 at 10:52 pm #29770
    michel
    Participant

    As I wrote previously, I made sure there were correct translations in the PO file. Hence I mention the Fr for France.
    No missing parts on that Deletion Account Page.
    So do you know why this page still appears in English while all localized parts of the PO files appear in my French (for France) website?
    Thanks in advance 🙂

    February 23, 2025 at 11:10 pm #29771
    The Assurer
    Moderator

    And you are certain that you followed every step in this document?
    https://simple-membership-plugin.com/translate-simple-membership-plugin/

    February 24, 2025 at 3:44 am #29772
    admin
    Keymaster

    Hi, there are multiple versions of the French translations, so it’s important to update the correct translation file for your version of the plugin. The file name must match your version.

    To determine the correct translation file name for your site, follow these steps:

    1) Navigate to the Tools menu in the Simple Membership plugin.
    2) Go to the System Info tab.
    3) Look for the “Language” field and note its value. What does it display?

    For example, the English language can have different versions, such as US English and UK English. If your site is using US English, you need to create or update the following language files; otherwise, the changes won’t take effect:

    simple-membership_en_US.po
    simple-membership_en_US.mo

    February 24, 2025 at 11:58 am #29774
    michel
    Participant

    Hi The Assurer,
    Yes, I’m certain everything’s OK. And I already have read and checked all the parts of this page before posting here.
    Why am I 100% sure everything’s OK?
    Because every other translated lines work. Only those on this page (Account Deletion) don’t.
    If something was wrong, I guess none of the translated lines would read in French, and not only the ones from this page…

    Hi admin,
    The System Info tab tells the language is fr_FR. I’m fr_FR, so that’s OK.
    Moreover, the file is up to date (synchronized) and I’ve created a personalized file with a (vey few) lines that I need to pimp for my personal needs.
    Both files are correctly located (following Loco Translate guide to get the right place for my personalized file) and both do their job to perfection (system and personalized)… Except for the lines in this Account Deletion Page, which are correctly translated in both PO files, btw. Please note that I tested with and w/o my personalized file, and the page still reads in English in all cases.
    So I keep wondering: why does this one page reads in English although everything’s perfectly translated in my fr_FR language—and that all other pages are correct (aka read in French)?
    Does anyone have tested that page with another language than English? Just want to make sure…

    Could this be a bug in the WordPress functions that are activated by Simple Membership?
    For example, I noticed that the ‘Confirm Account Deletion’ button is translated into French in the source code but still appears in English in the page, whereas both the rest of the page and source code only read in English despite the translations. I find it pretty weird.

    This is why I post on this forum, looking for a solution.

    If any of you need a way to get in, have a look, just let me know. I can set up a temp admin account and tell you how to find your way around my French website (assuming you’re not fluent in French).

    Thank you in advance!

    February 25, 2025 at 5:09 am #29779
    admin
    Keymaster

    We will investigate this further. Could you please provide a list of the strings that are not being translated, even though they exist in the translation file?

    February 25, 2025 at 10:07 am #29781
    michel
    Participant

    Hi admin,

    Thanks!
    The strings that appear not translated are:
    1 – Confirm Account Deletion
    2 – You are about to delete an account. This will delete user data associated with this account.
    3 – It will also delete the associated WordPress user account.
    4 – (NOTE: for safety, we do not allow deletion of any associated WordPress account with administrator role).
    5 – To proceed with the deletion process, please enter the current password for this user account.
    6 – Password:
    7 – Confirm Account Deletion

    Please note that all these 7 strings appear in a dynamic page that is triggered by clicking on the “Delete Account” button included in the standard Simple Membership shortcode [swpm_profile_form].

    Thanks again.
    Please let me know when you got news, this is important: I have to follow the European RGPD rules, and members should be able to delete their own account in their native language.

    Thanks!

    Best regards,

    ML

    February 25, 2025 at 11:23 am #29782
    admin
    Keymaster

    Thank you. We have made some changes to the plugin that should solve this translation issue.

    We intend to release this version next week. However, in the meantime, I am going to give you an updated copy of the plugin so you can use it and see if this works better on your site.

    You can download an updated copy of the plugin from our site using the following link. Let me know if this works better for you:
    https://simple-membership-plugin.com/wp-content/uploads/simple-membership.zip

    If you want to try this update, first delete the currently active copy of the plugin then upload and activate the above mentioned one. You won’t lose any data (members, payments, buttons, settings etc.) in the process so it is safe to do this.

    February 25, 2025 at 12:34 pm #29783
    michel
    Participant

    Hi admin,

    I just deleted my version and uploaded/activated the new one, and…
    It works like magic!
    Now the page reads perfectly in localised language (French, for instance)…
    And nothing else has been changed.

    Thanks a million!

    It was surprisingly fast…
    Thanks for your attention, understanding and help!

    Best regards,

    ML

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy