You can directly rename the module from the CometChat Admin Panel.
Login to your CometChat Admin Panel -> Language tab -> Edit Language and then modify the language for the module.
For example: To rename chatroom, click on modules/chatrooms.
Rename the Chatrooms and then click on the Update Language button.
Not finding what you need?
The CometChat team is here to help!