Locale localization seems unavailable
YuXiaoCoder opened this issue · 1 comments
YuXiaoCoder commented
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
docker run
-p 80:80
--name phpldapadmin-service
--hostname phpldapadmin-service
--link ldap-service:ldap-host
--env PHPLDAPADMIN_LDAP_HOSTS=ldap-host
--env PHPLDAPADMIN_HTTPS=false
--detach osixia/phpldapadmin
bronco commented
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