• clauskutsche

    (@clauskutsche)


    Hi WPSM team,

    Kudos for your plugin which I could customize for my needs quickly for my current project. As I see a very active community here, I want to infom you about a little translation-related issue I encounterd:

    https://ibb.co/ZJGNhZR

    The member state “Activation required” when viewed in the members list seems not to be translated and always shows up as “Activation_required” regardless of the language setting.

    When I do a ‘wp_debug_backtrace_summary()’ on this string in a ‘gettext’ filter, it tracks down to ‘views/admin_members_list.php’; although I didn’t find that sring anywhere in the code.

    Yeah I know about Loco Translate, but with only ten strings to change …

    https://ibb.co/sJ86Q7m

    Best regards,
    Claus



Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us and reporting this issue. I have submitted a message to the developers to investigate further your findings.

    Kind regards.

    Plugin Author wp.insider

    (@wpinsider-1)

    Please check your PO (for the language that you are using), does it have the following string in that po file and is it translated?

    Activation Required

    Thread Starter clauskutsche

    (@clauskutsche)

    As I can see using a ‘gettext’ filter hook, the translation key Activation_required (with an underscore and lowercase ‘r’) is requested by SwpmMembers->column_account_state

    This string is neither defined in the .pot file nor in any .po in Version 4.3.8.

    Stack trace excerpt:

    ...
    #5 (...) wp-content/plugins/simple-membership/classes/class.swpm-members.php(69): SwpmUtils::_('...')
    #6 (...) wp-admin/includes/class-wp-list-table.php(1761): SwpmMembers->column_account_state(Array)
    #7 (...) wp-admin/includes/class-wp-list-table.php(1704): WP_List_Table->single_row_columns(Array)
    ...

    Best regards,
    Claus

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Activation_required” in members list not translated’ is closed to new replies.