Answers.Body: <p>If you place a PHP file in <code>craft/translations</code> named after a locale ID and returning an array, those values will be used instead.</p>
  
  <p><strong>craft/translations/en.php</strong></p>
  
  <pre><code>&lt;?php
  
  return array(
      'Logged in.' =&gt; 'Good to see you.',
  );
  </code></pre>
  
  <p>Craft's own CP translation files can be found in <code>craft/app/translations</code>.</p>
  
  <p>You can read more about it here: <a href="http://buildwithcraft.com/help/static-translations" rel="nofollow">http://buildwithcraft.com/help/static-translations</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-16T11:24:07.813Z
Answers.LastActivityDate: 2015-08-16T16:37:23.543Z
Answers.LastEditDate: 2015-08-16T16:37:23.543Z
Answers.UserDisplayName: Mike Pepper
Body: <p>I couldn't find anything on here about this. Maybe I'm the only one, but for example when you log in there is a session notice with the message "Logged in.", but I want it to display something like "Good to see you" or something.</p>
  
  <p>I can see the notices are set via <code>Craft::t()</code>, so I would assume they are translatable somehow, so can I do this through configuration files or a plugin init method or something?</p>
  
Tags: <templating><config><session>
Title: Is it possible to override the default session notices?
ThreadText: # Is it possible to override the default session notices?
  
  (Asked by: username_0 on 2015-08-16)
  
  I couldn't find anything on here about this. Maybe I'm the only one, but for example when you log in there is a session notice with the message "Logged in.", but I want it to display something like "Good to see you" or something.
  
  I can see the notices are set via `Craft::t()`, so I would assume they are translatable somehow, so can I do this through configuration files or a plugin init method or something?
  
  **Tags:** templating, config, session
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-16. Score: 4 | Accepted answer
  
  If you place a PHP file in `craft/translations` named after a locale ID and returning an array, those values will be used instead.
  
  **craft/translations/en.php**
  
  ```
  <?php
  
  return array(
      'Logged in.' => 'Good to see you.',
  );
  
  ```
  
  Craft's own CP translation files can be found in `craft/app/translations`.
  
  You can read more about it here: <http://buildwithcraft.com/help/static-translations>
  
  
  ---
  
  