config.model.xml change the localization to german
-
Hello everyone,
I’m currently deploying Notepad++ silently on multiple PCs, which works fine so far.
During the installation, I also place a config.model.xml file into the Notepad++ installation directory.This file was created by copying my existing configuration from a PC where Notepad++ is already installed and configured the way I want. For that, I copied the config.xml file from the AppData folder and renamed it to config.model.xml.
After the silent installation, Notepad++ correctly starts in dark mode, so the configuration is being applied. However, the language (localization) still remains English. I would like it to be preconfigured to German.
What do I need to do to ensure that the language is set correctly during or after the silent installation?
Thanks in advance for your help!
Greets Eddie -
After the silent installation, Notepad++ correctly starts in dark mode, so the configuration is being applied. However, the language (localization) still remains English. I would like it to be preconfigured to German.
What do I need to do to ensure that the language is set correctly during or after the silent installation?
The localization information is not stored in the config.xml, so there is nothing that ended up in your
config.model.xmlto tell Notepad++ to use a specific localization. Instead, Notepad++ copies fromlocalization\<language>.xmltonativeLang.xml. If a normal user changes the localization, Notepad++ will copy the localization to%AppData%\Notepad++\nativeLang.xml. However, if you want it pre-defined, you can copy from<installDir>\localization\<language>.xmlto<installDir>\nativeLang.xml, and Notepad++ will use that if the user doens’t already have a nativeLang in their AppData config location. (So you would copy<installDir>\localization\german.xmlto<installDir>\nativeLang.xmlto get N++ to start in German.) -
@PeterJones Thanks! I will try it tomorrow
-
It works! Thank you very much!
Greets Eddie