Nope, it doesn’t work. This is used only for, like, categorize the strings.
I tried changing the hook and nothing happened. This is my code now:
/* Translate Users profile slug with Polylang */
add_action( 'plugins_loaded','bbp_polylang_integration' );
function bbp_polylang_integration() {
if ( function_exists( 'pll_register_string' ) ) {
pll_register_string( 'slug_users', '_bbp_user_slug', 'URL slugs' );
}
}
About this:
so is the context right – maybe ‘Polylang’ which seems to be the default?
I don’t really understand what you mean.