osixia / docker-phpLDAPadmin

phpLDAPadmin container image 🐳🌴
MIT License
844 stars 197 forks source link

Locale localization seems unavailable #55

Open ztj1993 opened 5 years ago

ztj1993 commented 5 years ago

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.

bronco commented 3 years ago

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