Answers.Body: <p>You can see the changes made to static translations in Craft 3 in the Craft 3 upgrade docs here:</p>
  
  <p><a href="https://docs.craftcms.com/v3/changes-in-craft-3.html#static-translation-files" rel="nofollow noreferrer">https://docs.craftcms.com/v3/changes-in-craft-3.html#static-translation-files</a></p>
  
  <p>In your case, <code>craft/translations/en_gb.php</code> would need to change to <code>craft/translations/en-GB/site.php</code>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-06T20:41:00.300Z
Answers.Text: I'm confused by this answer because there is no longer a "craft" folder in Craft3 aside from whatever you might find inside the vendor folder. I'm not really supposed to put files manually inside the vendor folder, am I?
Answers.UserDisplayName: Rick Kukiela
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-06T21:17:14.853Z
Answers.Text: Just make a `translations` folder alongside the root of your project where `vendor` lives.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-05T03:08:11.573Z
Answers.Text: The link no longer works.
Answers.UserDisplayName: Johann Dyck
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2017-06-12T23:42:36.687Z
Answers.LastActivityDate: 2018-06-21T18:57:50.120Z
Answers.LastEditDate: 2018-06-21T18:57:50.120Z
Answers.UserDisplayName: Brad Bell
Body: <p>I currently have a Craft 2 site deployment with a translations folder and a <code>en_gb.php</code> translations file.</p>
  
  <p>I would be able to use expressions like this: <code>{{"visualization"|t}}</code></p>
  
  <p>However, this does not work in Craft 3. What is the new format for translation in Craft 3?</p>
  
Tags: <craft3>
Title: How do translations work in Craft 3?
ThreadText: # How do translations work in Craft 3?
  
  (Asked by: username_0 on 2017-06-12)
  
  I currently have a Craft 2 site deployment with a translations folder and a `en_gb.php` translations file.
  
  I would be able to use expressions like this: `{{"visualization"|t}}`
  
  However, this does not work in Craft 3. What is the new format for translation in Craft 3?
  
  **Tags:** craft3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-06-12. Score: 6 | Accepted answer
  
  You can see the changes made to static translations in Craft 3 in the Craft 3 upgrade docs here:
  
  <https://docs.craftcms.com/v3/changes-in-craft-3.html#static-translation-files>
  
  In your case, `craft/translations/en_gb.php` would need to change to `craft/translations/en-GB/site.php`.
  
  > **Comments:**
  > **username_2**: I'm confused by this answer because there is no longer a "craft" folder in Craft3 aside from whatever you might find inside the vendor folder. I'm not really supposed to put files manually inside the vendor folder, am I?  
  > **username_1**: Just make a `translations` folder alongside the root of your project where `vendor` lives.  
  > **username_3**: The link no longer works.  
  
  ---
  
  