Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
While translating a site into Japanese using WPML and BuddyBoss, the confirmation email for member registration contained unwanted HTML and a non-functional link.
Solution:
We identified that the issue was not with the WPML string translation but with the BuddyBoss email template. The placeholder for the activation link in the Japanese version of the email template was incorrectly formatted. It used

{{activate.url}}

instead of the correct

{{{activate.url}}}

format used in the English version. This incorrect format caused the link to malfunction. To resolve this, you should correct the placeholder in the BuddyBoss email template to match the English format by ensuring it uses three curly braces.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/.

100% of people find this useful.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 35 replies, has 2 voices.

Last updated by Marcel 10 months, 2 weeks ago.

Assisted by: Marcel.

Author Posts
August 27, 2024 at 2:38 pm #16110623

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

1) Open hidden link
2) Change {{activate.url}} to {{{activate.url}}}

This is the default language of BuddyBoss setup, the EN translation handled via WPML is already using the correct format for the registration token.

Best Regards,
Marcel

August 27, 2024 at 2:42 pm #16110635

森 薫

in other words
{{activate.url}}
and search for
{{activate.url}}
and change it to {{activate.url}}?

August 27, 2024 at 2:44 pm #16110644

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Yes, the correct format is 3x brackets. You can compare it with the English version using the Backend language switcher.

Best Regards
Marcel

August 27, 2024 at 2:50 pm #16110697

森 薫

Specifically

{{activate.url}}
to
{{activate.url}}

and change it to {{activate.url}}?

screen and update it with “update”?

無題9.png
August 27, 2024 at 2:53 pm #16110725

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

No, take a look at English: hidden link. 3x Brackets are correct, not 2.

August 27, 2024 at 2:55 pm #16110728

森 薫

Specifically, the screen

{{activate.url}}
to
{{{activate.url}}}

screen and update it with “update"

August 27, 2024 at 2:56 pm #16110731

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Yes, identically as it's correctly done for the translated EN mail.

August 27, 2024 at 2:56 pm #16110732

森 薫

I'm beginning to understand.
In other words {{{ }}}
must be {{{ }}}, right?

August 27, 2024 at 3:00 pm #16110837

森 薫

つまり変数表記は
{{{ }}}
でないといけないのですね?

August 27, 2024 at 3:02 pm #16110840

森 薫

If you are satisfied with this, run it and perform the confirmation process.
We will do this tomorrow.

August 27, 2024 at 3:04 pm #16110858

森 薫

I will now run it and do the confirmation process.
It will be tomorrow.

August 27, 2024 at 3:05 pm #16110859

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

I'm not sure what you mean, you removed the word "activate.url" in between the brackets. BuddyBoss doc says: {{{activate.url}}}, not {{activate.url}} or {{{ }}}.

Just copy/paste from English and change the language to Japanese. It has to be 1:1 identical as in English version (the translation). Your issue affects Japanese, the default-language of your site, not handled by WPML. If you need further assistance here, I recommend you getting in touch with Buddyboss support.

Best Regards,
Marcel

August 27, 2024 at 3:08 pm #16110883

森 薫

I made the correction and ran it.

登録ありがとう!

アカウントのアクティベーションを完了するには、以下のリンクにアクセスしてください:{{{activate.url}}}にアクセスしてください。

Is this correct?

August 27, 2024 at 3:09 pm #16110884

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Yes (look at English to see what is the correct way).

August 27, 2024 at 3:13 pm #16110894

森 薫

It is already midnight in Japan, so we will actually check it tomorrow at work. Can I leave support open as is?