osixia/docker-phpLDAPadmin

Locale localization seems unavailable

ztj1993 opened this issue · 1 comments

I tried to change locales, such as lang = zh_CN, http://phpldapadmin.sourceforge.net/wiki/index.php/Config:appearance:language. I did a lot of testing, including installing SSH to modify configuration files directly, but it didn't work. I used osixia/phpldapadmin:0.7.2.

Try to config locale in docker image, for example:
sed -i -e 's/# zh_CN.UTF-8 UTF-8/zh_CN.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales