<blockquote>
  <p>I've tried the way described here: <a href="https://github.com/craftcms/locales" rel="nofollow noreferrer">https://github.com/craftcms/locales</a> but that does not seem to be picked up by Craft 3.</p>
</blockquote>

<p>Haven't actually tested this, but looking at the code I think it should work.</p>

<p>You'll need to disable the intl extension from being loaded on your box (usually done in php.ini) because if Craft sees that's available, it will use that automatically.</p>

<p>If it's not available, it falls back to <code>config/locales</code>, which is where you should be able to put your "custom" locale.</p>

CC BY-SA 4.0
2018-07-20T20:37:05.200Z
2018-07-20T20:37:05.200Z
Brad Bell
<p>I am looking for a way to add new locale files or override existing ones.</p>

<p>Basically a Craft 3 version of this: <a href="https://craftcms.com/support/adding-additional-locales" rel="nofollow noreferrer">https://craftcms.com/support/adding-additional-locales</a></p>

<p>I've tried the way described here: <a href="https://github.com/craftcms/locales" rel="nofollow noreferrer">https://github.com/craftcms/locales</a></p>

<p>But that does not seem to be picked up by Craft 3.</p>

CC BY-SA 4.0
2018-07-19T19:57:46.450Z
You're saying you need to use an additional locale that isn't in this list? https://github.com/craftcms/locales/tree/master/locales That list is generated from the [intl](https://secure.php.net/manual/en/book.intl.php) extension which is pretty comprehensive.
Brad Bell
CC BY-SA 4.0
2018-07-20T06:54:56.777Z
@BradBell What I need is a combination of the Dutch number notation (decimals / thousands) and the rest of the site can use the English rules. So my idea was putting a duplicate `en.php` file in the `config/locales/` folder with those specific changes to override the default one.
MarkSmits
<craft3><localization>
Adding or overriding locales in Craft 3
# Adding or overriding locales in Craft 3

(Asked by: username_0 on 2018-07-19)

I am looking for a way to add new locale files or override existing ones.

Basically a Craft 3 version of this: <https://craftcms.com/support/adding-additional-locales>

I've tried the way described here: <https://github.com/craftcms/locales>

But that does not seem to be picked up by Craft 3.

**Tags:** craft3, localization

> **Comments:**
> **username_1**: You're saying you need to use an additional locale that isn't in this list? https://github.com/craftcms/locales/tree/master/locales That list is generated from the [intl](https://secure.php.net/manual/en/book.intl.php) extension which is pretty comprehensive.  
> **username_0**: @BradBell What I need is a combination of the Dutch number notation (decimals / thousands) and the rest of the site can use the English rules. So my idea was putting a duplicate `en.php` file in the `config/locales/` folder with those specific changes to override the default one.  

---

## 1 answers

### Answer by username_1 on 2018-07-20. Score: 2 | Accepted answer

> I've tried the way described here: <https://github.com/craftcms/locales> but that does not seem to be picked up by Craft 3.

Haven't actually tested this, but looking at the code I think it should work.

You'll need to disable the intl extension from being loaded on your box (usually done in php.ini) because if Craft sees that's available, it will use that automatically.

If it's not available, it falls back to `config/locales`, which is where you should be able to put your "custom" locale.


---

