If you want to translate messages for a module and avoid using a single translation file for all messages, you can make it like the following: