Community
    • Login

    config.model.xml change the localization to german

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 531 Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          meddie77 @PeterJones
          last edited by

          @PeterJones Thanks! I will try it tomorrow

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

            It works! Thank you very much!
            Greets Eddie

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors