[英]NSIS change installer language
I want to ask a question how to change the installer language. 我想问一个问题,如何更改安装程序语言。
This is what i wrote in the code: 这是我在代码中写的:
LoadLanguageFile "${NSISDIR}\Contrib\Language files\Romanian.nlf"
Now I loaded it, but how to run it? 现在,我加载了它,但是如何运行呢?
You set $Language
with StrCpy
in .onInit
. 您
StrCpy
在.onInit
使用StrCpy
设置$Language
。
This is usually done with MUI_LANGDLL_DISPLAY
or the LangDll plugin so that the user can choose from a list of languages. 通常使用
MUI_LANGDLL_DISPLAY
或LangDll插件完成此操作,以便用户可以从语言列表中进行选择。
NSIS will try to use the "best match" language as the default... NSIS将尝试使用“最佳匹配”语言作为默认语言。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.