TYPO3表格 - 密码忘记链接更改电子邮件内容

I have a login form on my page. I found an option in the backend so that users can reset their password.

I tried it and it works, I received an E-Mail with a link to a page where I can change the password.

However, I try to change the content of the E-Mail because I don't like it.

I found this:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['forgotPasswordMail']

Hook to change the contents of the forgot password mail

https://docs.typo3.org/typo3cms/extensions/felogin/Hooks/Index.html

I found this "Tutorial" which shows how to use hooks, but it is missing some important information. Where exactly do I have to do the manipulation? In which file? How exactly do I replace the content?

You can "simple" change the lang parameters for felogin to change the email content.

plugin.tx_felogin_pi1._LOCAL_LANG {
  default {
    ll_forgot_email_password (
... Your Text here for emails with password ...
    )
    ll_forgot_email_nopassword (
... Your Text here for emails where password can not found ...
    )
    ll_forgot_validate_reset_password(
... Here Text for emails with password reset link ...
    )
  }
}

You can see the default Text with placeholders here.

There first line of the translation is used as the subject of the email.