I have modified URL slug for Docs in the wp-config.php file to thedefine( 'BP_DOCS_SLUG', 'dokumenty' ); but no change. My permalink path to the documents is still domain.com/docs but no domain.com/dokumenty or domain.com/group/groupname/dokumenty.