# Languages not loaded

**URL:** <https://forum.mautic.org/t/languages-not-loaded/3431>\
**Category:** Product Support\
**Created:** [February 11, 2016, 9:25am UTC](https://forum.mautic.org/t/languages-not-loaded/3431 "2016-02-11T09:25:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bizzimedia](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bizzimedia](https://forum.mautic.org/u/bizzimedia)\
**Post date:** [February 11, 2016, 9:25am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/1 "2016-02-11T09:25:09Z")

</div>

Cannot load any other language using the configuration on Mautic admin. Any time I try I get an error message:  
  
  
  
mautic.core.could.not.set.language  
  
  
  
This is happening at a clean install, it pops back to US language, no other language can be activated, can anybody help me out please?  
  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![bizzimedia](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bizzimedia](https://forum.mautic.org/u/bizzimedia)\
**Post date:** [February 11, 2016, 9:25am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/2 "2016-02-11T09:25:09Z")

</div>

Cannot load any other language using the configuration on Mautic admin. Any time I try I get an error message:

mautic.core.could.not.set.language

This is happening at a clean install, it pops back to US language, no other language can be activated, can anybody help me out please?

Thanks!

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [February 11, 2016, 11:41am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/3 "2016-02-11T11:41:58Z")

</div>

Do you by chance use PHP 5.5 with open\_basedir enabled?

---

<div class="post-metadata">

**Author:** ![bizzimedia](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bizzimedia](https://forum.mautic.org/u/bizzimedia)\
**Post date:** [February 11, 2016, 11:46am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/4 "2016-02-11T11:46:06Z")

</div>

Yes indeed, my server settings has “enable\_dl” activated

---

<div class="post-metadata">

**Author:** ![bizzimedia](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bizzimedia](https://forum.mautic.org/u/bizzimedia)\
**Post date:** [February 11, 2016, 11:47am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/5 "2016-02-11T11:47:15Z")

</div>

This is the text belonging to this setting:

This directive is really only useful in the Apache module version of PHP. You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory. The main reason for turning dynamic loading off is security. With dynamic loading, it is possible to ignore all open\_basedir restrictions.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [February 11, 2016, 11:55am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/6 "2016-02-11T11:55:25Z")

</div>

I don’t think the enable\_dl has something to do with it. Do you have a chance to upgrade to PHP 5.6? PHP 5.5 seems to have a bug preventing the redirects while downloading the language file.

---

<div class="post-metadata">

**Author:** ![bizzimedia](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@bizzimedia](https://forum.mautic.org/u/bizzimedia)\
**Post date:** [February 11, 2016, 12:05pm UTC](https://forum.mautic.org/t/languages-not-loaded/3431/7 "2016-02-11T12:05:46Z")

</div>

I have disabled the open\_basedir protection, see server message:

Disabling php open\_basedir protection for smhconnect.nl  
Rebuilding the Apache configuration…  
Done!  
Restarting the Apache server…  
Done!

This didn’t make a change, I use PHP version 5.5.31, I will update it and see if that makes a difference.

Thanks for your advise!!

---

<div class="post-metadata">

**Author:** ![dirks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirks/32/572_2.png) [@dirks](https://forum.mautic.org/u/dirks)\
**Post date:** [March 1, 2016, 10:07pm UTC](https://forum.mautic.org/t/languages-not-loaded/3431/8 "2016-03-01T22:07:47Z")

</div>

The cause and a potential solution was answered here: [https://www.mautic.org/community/index.php/587-problem-setting-language/p1#p7927](https://www.mautic.org/community/index.php/587-problem-setting-language/p1#p7927)

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [March 3, 2016, 7:59am UTC](https://forum.mautic.org/t/languages-not-loaded/3431/9 "2016-03-03T07:59:23Z")

</div>

I submitted this PR which should help with it in the future. Tests are welcome: [https://github.com/mautic/mautic/pull/1496](https://github.com/mautic/mautic/pull/1496)
