Ideally, translation files should be managed within the project's .pro file (qmake) or CMakeLists.txt file (CMake).
Add the following lines to your project file:
: Coordinate the process. They use the lupdate tool to extract translatable strings from source code into .ts (XML) files and lrelease to compile them into compact .qm files for the final application.