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: Exception
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. Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? |
November 21, 2023 at 11:29 am #14885939 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, 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, |
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) Thank you! |
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) |
November 22, 2023 at 7:01 am #14892981 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, 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, |
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, 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 Looking forward to your response. Best Regards, |
December 6, 2023 at 7:49 am #15004169 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, 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" Let me know the update. I will be happy to help if you need further assistance in this matter. Best regards, |
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, |
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) |
December 8, 2023 at 12:32 pm #15025541 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, 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, |
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. Thank you |
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, |
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? |