ChurchCRM / Docker

Docker Setup of Church CRM
0 stars 20 forks source link

Change sLanguage web page keep in en_US #18

Open chrishsieh opened 6 years ago

chrishsieh commented 6 years ago

Use docker image branch crm-docker-rewrite with churchcrm V3.0.9 When change sLangeuage, the web also show en_US

chrishsieh commented 6 years ago

docker httpd:2-alpine musl libc no support locales

-add can change locale, but can't support php setlocale()

ENV LC_ALL zh_TW.UTF-8 ENV LANG zh_TW.UTF-8

chrishsieh commented 6 years ago

alpine when php setlocale need add putenv('LC_ALL=en_US'); to support gettext.

chrishsieh commented 6 years ago

docker-compose.yml add environment: LC_ALL: en_US can change localte, but can't change in churchcrm admin setting.