How to translate frappe msgprint text?

hello guys ,
how to generate translation file that contains untranslated msgprint text in my application
for example
i need to translate using csv file
frappe.msgprint(_("Employee have No active Salary Structure "))

bench --site site_name build-message-files

Hi @alsum,

in your custom app folder, create a “translations” folder, and in this place the .csv file (e.g. de.csv). You may refer to the erpnext app for reference. You can use any DocType from your app as reference DocType.

Hope this helps.

@netchampfaris
it works thanks can i make build-message for only one application not all site ?