1

Topic: Change default language of new users in iredadmin

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Related log if you're reporting an issue:
====

Hi,

I have iRedMail and iRedAdmin installed. Whenever I add a new mail user in iredadmin, its default language gets set to en_US, however I changed this to hu_HU in /usr/share/apache2/iredadmin/settings.py:
default_language = 'hu_HU'

Shouldn't this be enough?
Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Change default language of new users in iredadmin

Did you restart iredadmin?
(Apache if you're running Apache)
(uWSGI if you're running NGinx)

3

Re: Change default language of new users in iredadmin

Settings in /usr/share/apache2/iredadmin/settings.py are global settings, you need a per-user language setting, it's stored in SQL column "mailbox.language".

4

Re: Change default language of new users in iredadmin

7t3chguy: Yes, I did restart uwsgi, but that didn't help as well.

ZhangHuangbin: Your answer gave me an idea: I changed the default value of that column in the table structure, and now it works perfectly.

Thanks!