# Cannot change language

**URL:** https://forum.mautic.org/t/cannot-change-language/31157
**Category:** Product Support
**Created:** [March 5, 2024, 8:45am UTC](https://forum.mautic.org/t/cannot-change-language/31157 "2024-03-05T08:45:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)
#### Post date: [March 5, 2024, 8:45am UTC](https://forum.mautic.org/t/cannot-change-language/31157/1 "2024-03-05T08:45:07Z")

</div>

**Your software**  
My Mautic version is: 5.0.3  
My PHP version is: 8.1.27  
My Database type and version is: mariadb Ver 15.1 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86\_64) using EditLine wrapper

**Your problem**  
Having issues changing language, I send emails in Swedish and English and I’d like the unsubscribe string in the Swedish emails to be in Swedish. So I tried to change the system language to Swedish to load the translation but it didn’t work. Got this error message: “Your request could not be processed, please try again.”

These errors are showing in the log:  
No error in apache2 error log.

Steps I have tried to fix the problem:

---

<div class="post-metadata">

### Author: ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)
#### Post date: [March 5, 2024, 8:47am UTC](https://forum.mautic.org/t/cannot-change-language/31157/2 "2024-03-05T08:47:42Z")

</div>

I checked the browser console:  
POST [https://m.example.com/s/config/edit?mauticUserLastActive=13&mauticLastNotificationId=](https://m.example.com/s/config/edit?mauticUserLastActive=13&mauticLastNotificationId=) 500 (Internal Server Error)

There’s an error 500 and I cannot see in the the Apache error log. Gonna have a peak at php.ini to see if it logs errors at all… this is a brand new VPS.

---

<div class="post-metadata">

### Author: ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)
#### Post date: [March 5, 2024, 9:13am UTC](https://forum.mautic.org/t/cannot-change-language/31157/3 "2024-03-05T09:13:33Z")

</div>

Nothing in Mautic’s logs either. Where do I begin to debug this?

---

<div class="post-metadata">

### Author: ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)
#### Post date: [March 6, 2024, 3:09pm UTC](https://forum.mautic.org/t/cannot-change-language/31157/4 "2024-03-06T15:09:58Z")

</div>

You need to define where this 500 error is happening.

Is it browser side or server side?

If it’s server side;  
Depending on your configuration, check the main web server log (errors and access) located in your /var/log directory.

Errors may be reported there when it does happen before a vhost exec.

\*\* Most of the 500 errors reported here that I looked at were about bad permission/ownership. This doesn’t come without a surprise. Documentation is leading lambda users in that direction for an unknown reason.

i.e. The upgrade documentation is a 100% 5xx error outcome. Running console as root. Ridiculous idea (and the results are there to explain why you shouldn’t).

---

<div class="post-metadata">

### Author: ![jakobpersson](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakobpersson](https://forum.mautic.org/u/jakobpersson)
#### Post date: [March 6, 2024, 3:13pm UTC](https://forum.mautic.org/t/cannot-change-language/31157/5 "2024-03-06T15:13:47Z")

</div>

A 500 error is an HTTP error, so that means server-side. I’ve checked all the logs (php, sys and apache2). I’ll try running recursive chown/chmod again to ensure all directories have correct ownership and permissions. Mautic reports correct folder permissions when I check.

---

<div class="post-metadata">

### Author: ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)
#### Post date: [March 6, 2024, 3:15pm UTC](https://forum.mautic.org/t/cannot-change-language/31157/6 "2024-03-06T15:15:35Z")

</div>

Check the logs… It’s sure there.
