Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale localization seems unavailable #73

Open
YuXiaoCoder opened this issue Apr 25, 2020 · 1 comment
Open

Locale localization seems unavailable #73

YuXiaoCoder opened this issue Apr 25, 2020 · 1 comment

Comments

@YuXiaoCoder
Copy link

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
Copy link

bronco commented Jul 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants