Stirling-Tools / Stirling-PDF

#1 Locally hosted web application that allows you to perform various operations on PDF files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting default language does not take effect

ws910616 opened this issue · comments

Modify the defaultLocale: 'en US' in the settings. yml file to: zh_cN, whether to open the page in English or not. Attempting to run Docker to add LANGS=zh_cN language or English, may I ask if my operation method is incorrect?

LANGS to define custom font libraries to install for use for document conversions

settings. yml should work but the docker env way to do it is not LANGS as other commenter mentioned that is for fonts
correct docker env way would be
SYSTEM_DEFAULTLOCALE: en-US

also did you mean to write
zh_cN with a lower case c ?

I believe it should be zh-CN if i refer to
#481

also note the - not _

Thank you very much, I made a mistake. I made a mistake in writing zh_cN and changed it to zh-CN, which will be displayed in Chinese by default