I have not tested it yet but after the translation please try to regenerate the mails.
Go to wp-admin > Tools > BuddyPress and run the “Reinstall emails” tool.
Reference: https://buddypress.org/support/topic/translation-email/
First replace the code for redirection with this code, remember that we have to just change the redirect code not the translation code.
function ps_redirect_next_group() {
if ( ! bp_is_user_profile_edit() || ! bp_is_my_profile() ) {
return;
}
$group_id = bp_get_current_profile_group_id()+1;
if ( bp_get_current_profile_group_id()==6 ) {
// 6 is the last group id, please change if it is anything else
bp_core_redirect(bp_displayed_user_domain()."profile/");
}else{
bp_core_redirect(bp_displayed_user_domain()."profile/edit/group/$group_id/");
}
}
add_action( 'xprofile_updated_profile', 'ps_redirect_next_group' );
And now to show the button:
add_action( 'bp_after_profile_edit_content' , 'ps_show_button_after_step');
function ps_show_button_after_step(){
if ( bp_get_current_profile_group_id()==4 ) {
?>
<input type="button" name="profile" id="profile" onClick="window.location.href='<?php echo
bp_displayed_user_domain()."profile/";?>'" value="Exit"/>
<?php
}
}
Thanks
For the activation and welcome messages you can find them in Email menu in dashboard. Find the one that you want to edit and add your text there and then test.
If wants to do it with code then please check this https://websistent.com/custom-buddypress-activation-email/
Same for the translation. You can change the content there in the Email menu.
Please see: https://prnt.sc/l5n76g
Thanks
Hi,
Please check this: https://buddypress.org/support/topic/translation-email/
Just need to go to Dashboard > Emails and customize any email.
Thanks
You should post on the bbPress forums:
https://bbpress.org/forums
bbPress handles the forum aspect of your site. It looks like Turkish should be supported based on the community’s translation efforts:
https://translate.wordpress.org/projects/wp-plugins/bbpress
Hi,
To change the email content please find the respective mail on emails tab(dashboard->emails). It will be ‘activate your account’ mail that you need to edit.
To change the registration confirmation you can use any language translation plugin like loco translate and find the message there and translate it to your text.
Thanks
@prashantvatsh It does not work, the variables that it puts in the header are not included in the translation document. The system takes the user name and prints it in the header, what I need is to know where it prints to be able to change it.
Anyway thank you very much
I’m not sure. Perhaps there is something being lost in translation in your description.
Can you take screenshots or a GIF to demonstrate your problem? Perhaps it’s browser-related? Could also potentially be a plugin conflict.
Here’s a quick GIF I took:
Pressing on “Public Message” takes me to the Site-wide Activity page with the user’s mention name. I click inside the textarea and write something. Hover over the “Post Update” button and it’s the hand cursor. I click on “Post Update” and wait for it to post. It successfully posts (you can’t see the post because I didn’t increase the height of the GIF.
This is in Chrome.
the line esc_html__( ‘%1$s started the topic %2$s in the forum %3$s’, ‘bbpress’ )
presents the phrse “started the topic in the forum” to WP translation as part of the bbpress translation component. This means that you can create you own translation (alternative text) for the bbpress string using poedit and maybe WPT Custom MO File in order to get your system to use your translation for your site.
See https://codex.buddypress.org/translations/ and https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/ obviously these pages are for BuddyPress, not bbPress but it’s the same principle.
can you please elaborate? have not heard of translation before.
Couldn’t you just change that via translation?
You can add fields via Users/Profile Fields, captcha would normally be added via a plugin. To change the text what I normally do is create a custom language translation file using Poedit.
Der Script buddypress/bp-core/js/vendor/moment-js/locale/pt.min.js ( sp.min.js) has Status Code 404 Not Found -> This causes a long page load time. The Website is https://elearning.faun.com/course/bedienung-funktionen/ I use WPLMS Theme and WPML Plugin for Translation. Please help me!
@filozof86 check inside theme translation string or contact with theme support.
Another problem that I find in the Nouveau template is that “Group Administrators” is not translated into Spanish.
In the Legacy template pack if the translation works but the size is very big and ugly.
Please, if you can solve these problems I thank you
We have this fixed for our next release, v3.1. This will be released next week (Wednesday) at the latest. The bug was addressed at https://buddypress.trac.wordpress.org/ticket/7869
@alpokoskiniva “Repair email” deletes the emails from the “Emails” menu, then re-adds them. You don’t need to do this unless you’ve added a translation to your site after installing BuddyPress, and want the translated emails, or if you’ve made a code change to the email language in the BuddyPress files, which is what @filipponeri20 has done. We strongly recommend that no-one ever changes a core file of BuddyPress, because it will be overwritten when you update.
You should be able to change the wording using the translation file and poedit.
Languages and Translations
I also recommend using WPT Custom MO File to manage your translations.
To change the name of tabs etc you need to look into setting up a custom translation file. All the visible labels are able to be translated, so you can change them how you like.
You can use poedit to create your translation file and WPT Custom Mo File to install the translation onto your site.
Languages and Translations
Hey there,
I am currently setting up a members directory for our alumni association using buddypress (currently Version 3 RC1 from trac). I really love it and so far the feedback from our testers is really positive. I might consider contributing a showcase/case study if there is anything like that for buddypress. I have already contributed several translations and will add more during the weekend!
I have one issue remaining which is related to the search function. We allow our members to hide certain information from other members. For example one member can set their current location to “adminsonly”. Let’s assume this example. We have user Thomas in city Berlin and user Peter in city Munich. Thomas decides to hide his location from other members and sets the field visibility to adminsonly. Now Peter views Thomas’ profile and is not able to see his location. So far everything works as expected. Now Peter uses the search function and uses the keyword “Berlin”. The result set contains Thomas (without displaying any information about the city) although Peter should not be able to know the city.
I would tend to consider this as a breach of privacy for users. That’s why I currently have removed the search boxes from all pages. Technically, if someone knows the URL search strings he/she could still do the search. Is it possible to configure the search so that it only searches fields which are available to the user conducting the search?
Thanks and regards!
The first file;
<?php
/**
* @package Boss Child Theme
* The parent theme functions are located at /boss/buddyboss-inc/theme-functions.php
* Add your own functions in this file.
*/
/**
* Sets up theme defaults
*
* @since Boss Child Theme 1.0.0
*/
function boss_child_theme_setup()
{
/**
* Makes child theme available for translation.
* Translations can be added into the /languages/ directory.
* Read more at: http://www.buddyboss.com/tutorials/language-translations/
*/
// Translate text from the PARENT theme.
load_theme_textdomain( ‘boss’, get_stylesheet_directory() . ‘/languages’ );
// Translate text from the CHILD theme only.
// Change ‘boss’ instances in all child theme files to ‘boss_child_theme’.
// load_theme_textdomain( ‘boss_child_theme’, get_stylesheet_directory() . ‘/languages’ );
}
add_action( ‘after_setup_theme’, ‘boss_child_theme_setup’ );
/**
* Enqueues scripts and styles for child theme front-end.
*
* @since Boss Child Theme 1.0.0
*/
function boss_child_theme_scripts_styles()
{
/**
* Scripts and Styles loaded by the parent theme can be unloaded if needed
* using wp_deregister_script or wp_deregister_style.
*
* See the WordPress Codex for more information about those functions:
* https://codex.wordpress.org/Function_Reference/wp_deregister_script
* https://codex.wordpress.org/Function_Reference/wp_deregister_style
**/
/*
* Styles
*/
wp_enqueue_style( ‘boss-child-custom’, get_stylesheet_directory_uri().’/css/custom.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘boss_child_theme_scripts_styles’, 9999 );
/****************************** CUSTOM FUNCTIONS ******************************/
// Add your own custom functions here
?>
The second contains:
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 35 ); //change this with your desired thumb width
if ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 35 ); //change this with your desired thumb height
?>
@nikbond no need to edit the codes, you can simply translate Media to Photos using Translation strings. To translate within dashboard you can use Loco Translate plugin.
Hi
I installed BuddyPress in my website but, the Arabic translation not show !!
Can anyone help me?
my language site is Arabic
It’s got to be a conflict of some sort somewhere, translations are usually very reliable from my experience.
I think the first thing to do is to check there’s nothing interfering with the loading of the translation – unload all of your plugins except BP and Custom MO. Also try it running the 2017 theme.