Where is translation file for e-mail in module

Hello

I wrote a module which sends e-mail to customers and administrators.
Can somebody tell me where should be located translation file for e-mail in module?

Kindest regards,
Andrzej

Hi Andrzej,

you can put it into \modules\vendor\modulname\out\lang\de

Thank you for your fast answer but I put file <modulnname>_lang.php into \modules&lt;vendor>&lt;modulname>\out\lang\en and it’s not working for e-mail (it’s working for frontend text).

What can I do wrong?

Hi,

looks like out/lang/{locale} is depricated since 4.7.0 - at least for front end translations
Found this one:
http://wiki.oxidforge.org/Downloads/4.7.0_5.0.0#Module_handler_changes

*The frontend translation files will be moved from modules/modulepath/out/lang to modules/modulepath/translations/;
*The translation files for the admin panel will be moved from modules/modulepath/out/admin/ to modules/modulepath/views/admin/.

Most likely, you’d have to strore translations for emails in the admin area.

Best!