• Resolved sampei2727

    (@sampei2727)


    Hello. First of all, thank you for letting me use your awesome plugin.

    Well, the SWPM version I’m using is 4.3.2, but the current Japanese translation file is incomplete. Therefore, I have customized some, but there are two parts that I do not understand.

    First one.
    I would like to directly rewrite the following message displayed on the screen after canceling the subscription into Japanese, but I could not find the file that outputs this message.
    “Subscription has been canceled. You will be redirected to the previous page in a few seconds. If not, please click here.”

    Second.
    in “/classes/class-swpm-member-subscriptions.php”
    Even if you rewrite “No active subscriptions”, it will not be reflected on the screen display.

    Please give me advice.

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

    (@mbrsolution)

    Hi,

    First one.
    I would like to directly rewrite the following message displayed on the screen after canceling the subscription into Japanese, but I could not find the file that outputs this message.
    “Subscription has been canceled. You will be redirected to the previous page in a few seconds. If not, please click here.”

    I cannot find that string anywhere in the plugin. Which subscription payment service are you cancelling? Is it Stripe or PayPal?

    Second.
    in “/classes/class-swpm-member-subscriptions.php”
    Even if you rewrite “No active subscriptions”, it will not be reflected on the screen display.

    I have submitted a message to the developers to investigate this issue further.

    Kind regards.

    Thread Starter sampei2727

    (@sampei2727)

    Hi Mbrsolution,
    thank you for answering.
    I use Stripe.
    Does your reply mean the message is from Stripe?

    Thank you for your continued support.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Does your reply mean the message is from Stripe?

    Maybe because I could not find that string in our plugins POT file.

    Kind regards.

    Thread Starter sampei2727

    (@sampei2727)

    Hi mbrsolution,
    If the message is displayed by Stripe, it seems difficult to translate it into Japanese.
    But I want to solve the second issue.

    Thank you for your continued support.

    Plugin Author wp.insider

    (@wpinsider-1)

    The Japaense language file is not fully translated at the moment. It will need a full translation done from the main pot file. You can do a full translation using the following tutorial:

    https://simple-membership-plugin.com/translate-simple-membership-plugin/

    If you do a translation, you can submit it to us for including it in the plugin.

    Thread Starter sampei2727

    (@sampei2727)

    Hi wp.insider.
    Thank you for your advice.

    The second issue, the problem that was not reflected even if I directly modified the code, is still a mystery, but I was able to translate it into Japanese by adding the following that was not in the .po file I was using.
    msgid “Cancel Subscription”
    msgid “No active subscriptions”

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Partial Japanese localization’ is closed to new replies.