<p>You could for example just edit the translation file with the specific <a href="https://github.com/craftcms/cms/blob/develop/src/translations/en/app.php#L1043" rel="nofollow noreferrer">user registered flash message.</a></p>

<p>You can read more about the static translation in the <a href="https://docs.craftcms.com/v3/changes-in-craft-3.html#static-translation-files" rel="nofollow noreferrer">docs</a>.</p>

CC BY-SA 4.0
2019-11-22T19:11:35.350Z
That would do it - thanks.
iamkeir
CC BY-SA 4.0
2019-11-21T18:24:21.763Z
2019-11-21T18:24:21.763Z
Christopher Dosin
<p>I am looking to customise the default flash message text for certain behaviours but cannot seem to find any reference to them in the code or control panel - does this exist anywhere? And could it be made editable in the CP?</p>

<p>I know I could do something like this but it feels hacky:</p>

<pre><code>{% if craft.app.session.getFlash('notice') == 'User registered.' %}
  {% do craft.app.session.setFlash('notice', 'User registered - please check your email to activate your account.') %}
{% endif %}
</code></pre>

<p>Thanks.</p>

<users><session><app>
Can I manage/change the default flash message text?
# Can I manage/change the default flash message text?

(Asked by: username_0 on 2019-11-21)

I am looking to customise the default flash message text for certain behaviours but cannot seem to find any reference to them in the code or control panel - does this exist anywhere? And could it be made editable in the CP?
I know I could do something like this but it feels hacky:
{% if craft.app.session.getFlash('notice') == 'User registered.' %}
  {% do craft.app.session.setFlash('notice', 'User registered - please check your email to activate your account.') %}
{% endif %}

Thanks.

**Tags:** users, session, app


---

## 1 answers

### Answer by username_1 on 2019-11-21. Score: 4 | Accepted answer

You could for example just edit the translation file with the specific [user registered flash message.](https://github.com/craftcms/cms/blob/develop/src/translations/en/app.php#L1043)

You can read more about the static translation in the [docs](https://docs.craftcms.com/v3/changes-in-craft-3.html#static-translation-files).

> **Comments:**
> **username_0**: That would do it - thanks.  

---

