<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>

CC BY-SA 3.0
2017-11-06T20:41:00.300Z
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?
Rick Kukiela
CC BY-SA 3.0
2017-11-06T21:17:14.853Z
Just make a `translations` folder alongside the root of your project where `vendor` lives.
Brad Bell
CC BY-SA 3.0
2018-04-05T03:08:11.573Z
The link no longer works.
Johann Dyck
CC BY-SA 4.0
2017-06-12T23:42:36.687Z
2018-06-21T18:57:50.120Z
2018-06-21T18:57:50.120Z
Brad Bell
<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>

<craft3>
How do translations work in Craft 3?
# 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.  

---

