[英]Set language of NSIS Installer
I have an angular/electron app with NSIS Installer.我有一个带有 NSIS 安装程序的角度/电子应用程序。 How Can I set language in which this installer window appears?如何设置此安装程序 window 出现的语言? For example I want installation directory window to be in german instead of english.例如,我希望安装目录 window 是德语而不是英语。 I could not find any documentation about this topic.我找不到有关此主题的任何文档。
According to the Electron Builder documentation you should set installerLanguages
to "de_DE" in the nsis
key in your configuration.根据Electron Builder 文档,您应该在配置的nsis
键中将installerLanguages
为“de_DE”。
If you want to use a fully custom NSIS script instead, it would just be:如果您想改用完全自定义的 NSIS 脚本,那就是:
!include MUI2.nsh
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE German
Section
...
SectionEnd
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.