This may be easier than I’d thought:
[root@cp bbpress]# grep -r 'You must be logged in' *
languages/bbpress.pot:msgid "You must be logged in to create new forums."
languages/bbpress.pot:msgid "You must be logged in to reply to this topic."
languages/bbpress.pot:msgid "You must be logged in to create new topics."
templates/default/bbpress/form-forum.php: <p><?php is_user_logged_in() ? _e( 'You cannot create new forums.', 'bbpress' ) : _e( 'You must be logged in to create new forums.', 'bbpress' ); ?></p>
templates/default/bbpress/form-topic.php: <p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>
templates/default/bbpress/form-reply.php: <p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>
What’s the “best practice” for modifying the languages file? Is that something that I can achieve with a child theme?
TIA,
Eric Pretorious
Portland, OR
Hi Eric,
Best pratice is never to edit existing files 🙂 It gets overwritten with the next release.
Have a look if you find something in my response here: https://bbpress.org/forums/topic/setup-login-for-private-forum/
Pascal.
> > What’s the “best practice” for modifying the languages file?
>
> Best pratice is never to edit existing files
Could you give a little more guidance, Pascal?
TIA,
Eric Pretorious
Portland, OR
> Have a look if you find something in my response here:
> https://bbpress.org/forums/topic/setup-login-for-private-forum/
I didn’t find anything in there about modifying the languages file (bbpress.pot).
This thread seemed promising but it left too many questions unanswered: https://bbpress.org/forums/topic/bbpress-language-files/
What else have you got, Pascal?
TIA,
Eric Pretorious
Portland, OR