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

[Support request] Translation not working

Simple Membership Plugin › Forums › Simple Membership Plugin › Translation not working

Tagged: translation

  • This topic has 11 replies, 2 voices, and was last updated 5 years, 4 months ago by mbrsolution.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • April 27, 2020 at 9:59 pm #20186
    belisards
    Participant

    Hi, I have issues with the translation of [swpm_login_form]

    My default WordPress language is already set for Portuguese and the plugins backend is translated, but some frontend strings are still in english. I used LocoTranslator to check the .PO/.MO file and the texts seems to be already translated, but the translations it not being applied for some reason. What could I do?

    April 28, 2020 at 4:16 am #20189
    mbrsolution
    Moderator

    Hi, can you share a screen capture illustrating the strings that are not translated? Or send me the URL with the login form page, so that I can check.

    Thank you

    April 28, 2020 at 3:23 pm #20195
    belisards
    Participant

    Sure: [escoladedados.org/membership-login]

    Look at “Forgot your password” for instance.

    April 28, 2020 at 9:53 pm #20197
    mbrsolution
    Moderator

    Hi,

    Can you make sure that the po and mo files in the following locations yoursite.com/wp-content/plugins/simple-membership/languages/ and yoursite.com/wp-content/languages/plugins/ are the same.

    Let me know if the above helps you.

    Thank you

    April 28, 2020 at 10:52 pm #20200
    belisards
    Participant

    I had no PO/MO files from Simple-Membership at wp-content/languages/plugins

    And inside wp-content/plugins/simple-membership/languages/ I had all the languages available. I tried to copy the PO/MO files in Portuguese (Pt-BR) from this folder to the first one, ensuring they have the same owner and permissions. However, the parts of the frontend text are still in English.

    April 28, 2020 at 11:49 pm #20201
    mbrsolution
    Moderator

    Can you confirm the string/s in question are translated into Portuguese in the po files in both locations? Also can you share the full name of the po and mo files added in both locations in your site?

    Thank you

    April 29, 2020 at 12:39 am #20202
    belisards
    Participant

    The translation seems to be ok inside the PO file.

    I ran this command:

    cat plugins/simple-membership/languages/simple-membership-pt_BR.po | grep Forgot -C 2

    And I got:

    #: views/login.php:24
    msgid “Forgot Password”
    msgstr “Esqueceu sua senha”

    I got the same result for the command below with the another file since they are the same.

    cat languages/plugins/simple-membership-pt_BR.po | grep Forgot -C 2

    April 29, 2020 at 1:22 am #20204
    mbrsolution
    Moderator

    Hi, check to make sure this is not related to a cache issue.

    Regards

    April 29, 2020 at 1:39 am #20205
    belisards
    Participant

    It is not. The [swpm_login_form] in the URL that I sent is in portuguese for you?

    What location is actually used by the plugin to load the PO/MO files? How could I check which translation file are active?

    April 29, 2020 at 1:54 am #20206
    mbrsolution
    Moderator

    Hi, I just carried out a test in my Spanish dev site and it is correctly translating the Forgot Password field in Spanish for me. There is something in your site that is preventing this. Unfortunately I can’t reproduce this issue in my end.

    What location is actually used by the plugin to load the PO/MO files? How could I check which translation file are active?

    In order to prevent an issue from ever happening, I always make sure that both areas have the same po and mo files.

    Kind regards

    May 12, 2020 at 8:36 pm #20247
    belisards
    Participant

    The problem is not just with this string. All frontend labels are in english, but the plugin settings in the backend has the language that I want (Portuguese). I tried to update the plugin, but it does not work as well.

    May 12, 2020 at 9:41 pm #20248
    mbrsolution
    Moderator

    Hi, unfortunately I can’t reproduce this issue in my end with the Spanish language. I have submitted a message to the developers to investigate further your issue.

    Thank you

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • 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 © 2025 | Simple Membership Plugin | Privacy Policy