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
【bug】Environment variables do not take effect #1121
Comments
LANGS=zh_CN is not for default but for fonts It's default locale which is for the default Lang |
I hope my Stirling will open in Chinese by default. I have set the environment to LANGS=zh-CN in Docker, and set defaultLocales: zh-CN in the settings. yml file of config. I have also restarted and refreshed the browser cache, but unfortunately it did not take effect |
It's not
|
Maybe, after changing the configuration, try to restart the container on Docker via Regarding the setup of the Nginx Reverse Proxy, I am not very versed in that regard, but I might assume you should add something like this to your active site configuration:
All credit goes to this guy here on Reddit, cheers mate! 祝你好运 |
I found that both problems are caused by caching |
i try to set 'e - LANGS=zh_CN' in docker,but it not show zh_CN default.
and i try to change setting.yml,, "defaultLocale: 'zh_CN' ",go on restart,and it not show zh_CN default.
The text was updated successfully, but these errors were encountered: