snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Emails body translation

Open mariomasa opened this issue 10 years ago • 5 comments

I setup the app to translate to Portuguese ('locale' => 'pt-PT') and it works fine. But the system is still sending the emails in English language. Example is the "Confi snipe it image rm Asset Checkin" email alert.

How to customize them emails, changing the Subject and the boby of the email to Portuguse language.

BR

mariomasa avatar May 05 '16 13:05 mariomasa

I think the email's are hardcoded in English. You can edit (if you are using a Linux version) the mail at /app/views/emails/checkin-asset.blade.php. You can change the subject of the checkin email(if you are using a Linux version) at /app/controllers/admin/AssetsController.php Line 659

IxFail avatar May 06 '16 07:05 IxFail

Thank you, Now, I can edit the files and translate them to portuguese.

Where can I change the subject of the email "Confirm asset delivery"

mariomasa avatar May 06 '16 16:05 mariomasa

You can change the subject of the email "Confirm asset delivery" at app/models/Asset.php @ line 88

Be aware that at every update, these files/changes will reset

IxFail avatar May 08 '16 13:05 IxFail

Thanks, It's a suggestion that the translation of the whole application should be extended to the emails.

mariomasa avatar May 09 '16 13:05 mariomasa

You can change the subject of the email "Confirm asset delivery" at app/models/Asset.php @ line 88

Be aware that at every update, these files/changes will reset

Hello i'm using version 6.3, can you manual how to edit email delivery subject such as : add more username in subject ?

GaoGaoCE avatar Feb 02 '24 06:02 GaoGaoCE