It worked now! Sorry for the trouble.
function bp_docs_create_button() {
if ( ! bp_docs_is_doc_create() && current_user_can( ‘bp_docs_create’ ) ) {
echo apply_filters( ‘bp_docs_create_button’, ‘‘ . __( “Criar Novo Documento”, ‘bp-docs’ ) . ‘‘ );
}
}
This is what I did, just changed the text string.
I changed the text directly from the templatetags.php file. This still shouldn’t have happened right?
Thanks for the answer.
When I changed “Create New Doc” to something else in portuguese the button disappeared. When I change it back it is still not showing. Know what this might be?