Community
    • Login

    config.model.xml change the localization to german

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 42 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      meddie77
      last edited by

      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

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @meddie77
        last edited by

        @meddie77 ,

        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.xml to tell Notepad++ to use a specific localization. Instead, Notepad++ copies from localization\<language>.xml to nativeLang.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>.xml to <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.xml to <installDir>\nativeLang.xml to get N++ to start in German.)

        M 1 Reply Last reply Reply Quote 2
        • M
          meddie77 @PeterJones
          last edited by

          @PeterJones Thanks! I will try it tomorrow

          1 Reply Last reply Reply Quote 1
          • M
            meddie77
            last edited by

            It works! Thank you very much!
            Greets Eddie

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors