Skip Navigation

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 18 replies, has 2 voices.

Last updated by Prosenjit Barman 10 months, 3 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
November 19, 2023 at 10:57 pm #14872103

womens-studiesO

Tell us what you are trying to do? I am trying to translate BuddyBoss group types. Then, I want to be able to assign the translated group types to my group in the second language. To translate my groups I need to go to string translation to translate them. That does not seems to work for group types.
I have started translating some group types from the group types menu, but I don't see them on the french side.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

Screenshot 2023-11-19 at 2.57.00 PM.png
Screenshot 2023-11-19 at 2.55.55 PM.png
Screenshot 2023-11-19 at 2.53.14 PM.png
November 21, 2023 at 11:29 am #14885939

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

The screenshots indicate that the translation for the Groups has not been fully completed, which explains why they are not visible in other languages. As "Group" is a post type and there's an option to add a translation (indicated by the "+" icon), you should add translations for the Groups by clicking this icon, rather than using the String Translation section.

So, please fully complete the Group Types translation by going to "BuddyBoss > Groups". Before starting translating them, ensure that the "BuddyPress Multilingual" addon is active on your site.

Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 21, 2023 at 6:13 pm #14889991

womens-studiesO

Hi Prosenjit,

I was able to translate all the group types. (It just took a long time)
The only thing now is I am not able to see the actual french translation of the group types in the drop down of my front end. (Theses groups were already translated through string translation a long time ago.) Do I need to re sync something?

Thank you!

Screenshot 2023-11-21 at 10.04.48 AM.png
Screenshot 2023-11-21 at 10.08.06 AM.png
November 21, 2023 at 6:14 pm #14890059

womens-studiesO

I just realized that the labels are not created on the french side, it seems to be why. (See last message screen capture)

Screenshot 2023-11-21 at 10.13.55 AM.png
November 22, 2023 at 7:01 am #14892981

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

If you're displaying the Group Label on the frontend, it's important to make sure that a label is also added for the Translated Group type. Does the label appear in the Translation Editor while translating the Group Type?

If not, maybe the translation preference for the Label hasn't been configured correctly yet. Please go to "WPML > Settings > Custom Field translation" and search for the field name where you've added the Label.

If that field appears in the result, make sure to set the translation preference for the field to "Translatable" and save the changes.

Once done, please make a small change in the default Group Type, save the changes, and try to update the translation. In the translation editor, ensure that the Label appears properly.

Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 23, 2023 at 9:25 pm #14912153

womens-studiesO

Hi Prosenjit,

No the label does not apeear in the translator editor. I have searched WPML custom field, but did not find the ''group label type'' field in the list. I am also unsure what is the name of that field... How can I find the name the field?

Thank you

November 24, 2023 at 8:08 am #14913803

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

To help you in finding the correct name of the page, a closer inspection will be required. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

December 6, 2023 at 7:49 am #15004169

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for sharing the access information.

I have reviewed and successfully translated the Group Type Label. Please check this screenshot: hidden link

Initially, the translation setting for the Label field was marked as Not Translatable, which explains why they weren't being translated.

To translate the Group type labels, here are the steps to follow.

- Navigate to WPML > Settings and scroll down to the "Custom field Translation"
- Click on the "Show System Field" link
- Search for "_bp_group_type_label"
- In the result, two fields will appear named "_bp_group_type_label_name" and "_bp_group_type_singular_label_name". Set the translation preference for both fields to "Translate"
- Once done, go to the Group Type section and open any of the Group types in WordPress Editor
- Make a small change and save the changes.
- Now, update the translation of the Group type. In the Editor, the group type label will appear for translation. Please make sure to add the translation for the label.

Let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 6, 2023 at 9:08 pm #15012275

womens-studiesO

Hi Prosenjit,

I was able to translate the group name thank you. But now something happened and all my groups are only in french, it seems I have lost the english version of the courses. I am not sure what's going on. But I did notice at first I was not able at first to assign group types in english and french at the same time.

December 7, 2023 at 10:35 am #15015639

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

I had some difficulty fully understanding the issue as described in your last message. Could you please provide a bit more clarification? A video capturing the issue or some screenshots related to it would be extremely helpful for a better understanding. Once I have more details, I'll be more than happy to assist you further.

Looking forward to your response.

Best regards,
Prosenjit

December 7, 2023 at 10:43 pm #15021631

womens-studiesO

Sorry about that!.

-First state is my group types on English side are correctly labeled. (english-group-type-labeled capture)
-Then I switch to the group French side. I label all the groups with their french group type label. (french-group-type-label capture)
-When I switch back to english, the groups are not labeled anymore. (english-not-labeled capture)
-If I start again the same will happen. Both language group cannot have their group type labeled at the same time.
-I have also noticed that some groups are now only in french, or in english in both language.

english-group-type-labeled.png
english-not-labeled.png
french-group-type-label.png
December 8, 2023 at 12:32 pm #15025541

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the clarification.

I have checked and understood the issue. It's important to understand that "Groups" in BuddyPress are not classified as a post type. Instead, they are part of the admin pages. Unlike other post types in WordPress, posts within the "Groups" cannot be translated in the same manner. As a result, the posts you create within these "Groups" will be synchronized across all languages. This means they should be accessible and visible in every language version of your site, unlike typical post types that may require separate translations.

Now, you don't need to assign the group type by switching to a secondary language. Please only assign the Group type in the default version of the Group. Once that is done, translate the Groups by following the instructions mentioned here: https://wpml.org/documentation/related-projects/buddypress-multilingual/#translating-group-names-and-descriptions

In this way, when you try to access the Translated group from the Frontend, the Translated Group Type will appear properly in the frontend. Due to the unique nature of "Groups" in BuddyPress as an Admin page, the translation and Type management processes differ from those of standard post types. I hope you can understand the matter.

Feel free to let me know if you need further assistance or clarification in this matter. I will be happy to help.

Best regards,
Prosenjit

December 11, 2023 at 8:00 pm #15040483

womens-studiesO

Hi Prosenjit,

I was able to translate the groups types, also the group strings were already translated from before.
The reason why I needed to translate the group types is that I am using the ''buddyboss group type'' widget in elementor. Right now the group types are not successfully added on the french side. I have tried editing the elementor english page, but on the french side it is not working.
I have included 2 screen capture.

Thank you

elementor-french.png
elementor-english.png
December 12, 2023 at 5:26 am #15041935

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

If the "Group Types" have been translated, they should be accessible in other languages. Could you please edit the French version of the page using the Elementor editor and see if it's possible to manually add the French "Group Types" there?

If you can add the Group Types manually, it is possible that the translation support for the "Group Type" isn't been integrated yet which is why, the translated types aren't showing there. Discussing with the Support team of Buddypress will be beneficial in this case. As Buddypress is compatible with WPML, I hope they will consider adding the translation support in the Group Type widget.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 12, 2023 at 7:13 pm #15049243

womens-studiesO

Hi Prosenjit,

I have tried adding the french group types manually but it just tells me ''no result found''. What that does mean in that case?

Screenshot 2023-12-12 at 11.09.47 AM.png
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.