Community
    • Login

    Help me find this menu "open file in browser"

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    13 Posts 3 Posters 473 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.
    • andrecool-68A
      andrecool-68 @PeterJones
      last edited by

      @PeterJones There is no need to make additional lines, they are there but they do not work in all languages))

      000.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • andrecool-68A
        andrecool-68 @PeterJones
        last edited by andrecool-68

        @PeterJones We need to put these lines in the <Commands> block
        This must be done for all languages!

        000.png

        PeterJonesP 1 Reply Last reply Reply Quote 2
        • PeterJonesP
          PeterJones @andrecool-68
          last edited by

          @andrecool-68 said in Help me find this menu "open file in browser":

          There is no need to make additional lines, they are there but they do not work in all languages

          I don’t know if the language barrier is hurting our communication again, but I disagree with that statement.

          The view-currentFileIn line was missing from the esperanto.xml, which is why the submenu wasn’t translating. As soon as I added it, it did translate that entry. My assessment is that if the view-currentFileIn line exists in the XML file, then it will translate the sub-menu’s name; if it is not present, the sub-menu will use the default “View Current File in” English text.
          c7932a24-ded2-40ba-8da7-889024e0db8f-image.png
          117c240c-3072-4b3d-ad44-992d34e1526c-image.png

          And, as I said, “I haven’t been able to translate the Firefox/Chrome/Edge/IE strings”. Said another way, the text in the items 44100, 44101, 44103, and 44102 do not appear to influence the four entries in the browser submenu no matter what, for any language I tried. My assessment is that you cannot translate the names of the browsers. This doesn’t seem like a bad thing to me, since it’s just a list of application names.

          andrecool-68A 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @andrecool-68
            last edited by

            @andrecool-68 said in Help me find this menu "open file in browser":

            We need to put these lines in the <Commands> block
            This must be done for all languages

            Ah, I see now that the entries for 44100 and similar that I was editing were in the <ShortcutMapper>...<MainCommandNames>... section, not in the <Commands> section.
            But again, I don’t think it’s important to translate the names of applications, and I am fine with the short names.

            If you think that Don should add those entries into the translation files for every language, you are allowed to fill out a feature request. If it doesn’t work in all languages, you are allowed to fill out a bug report. But as you know, mentioning something like that once or 100 times in this Forum is not the official way to file a request or bug report.

            Alan KilbornA andrecool-68A 2 Replies Last reply Reply Quote 1
            • andrecool-68A
              andrecool-68 @PeterJones
              last edited by

              @PeterJones This is English localization

              000.png

              1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @PeterJones
                last edited by

                @PeterJones said in Help me find this menu "open file in browser":

                the entries for 44100 and similar that I was editing were in the <ShortcutMapper>…<MainCommandNames>… section, not in the <Commands> section

                I’ve done this once or twice myself.
                VERY frustrating when what you’ve edited doesn’t go into effect.
                Of course, our own fault.
                But still… :-)

                1 Reply Last reply Reply Quote 2
                • andrecool-68A
                  andrecool-68 @PeterJones
                  last edited by

                  @PeterJones No extra lines needed!
                  You just need to put these lines in the right place!

                  PeterJonesP 1 Reply Last reply Reply Quote 0
                  • PeterJonesP
                    PeterJones @andrecool-68
                    last edited by

                    @andrecool-68 said in Help me find this menu "open file in browser":

                    No extra lines needed!

                    No need to shout (exclamation points are usually considered shouting).

                    I respectfully disagree. See my reasons explained below:

                    b1e26352-2e86-4455-b5bb-4a4bd09f2fc4-image.png

                    Of the 93 localization files in a fresh unzip of v7.9.1, only 36 contain the view-currentFileIn line. So in the other 57, that line would have to be added.

                    You just need to put these lines in the right place!

                    I disagree. The entries in the <ShorcutMapper> section should stay in the shortcut mapper section. Do not move them; otherwise, it will not translate the lines I have shown here, from the Shortcut Mapper:
                    ac618c5d-b122-4224-9cf9-374d7bc7d4ae-image.png

                    So, in 57 files, you have to add the view-currentFileIn line, which does not exist, otherwise the name of the submenu will stay in English.

                    In any localization XML file that does not have the 44100 and similar lines in the <Commands> section, you need to add them in that section. If you move them from <ShortcutMapper> to <Commands>, you will just change it so the menu does translate but the shortcut mapper does not. If you want both translated, you need both copies of the 44100 and similar blocks.

                    andrecool-68A 1 Reply Last reply Reply Quote 1
                    • andrecool-68A
                      andrecool-68 @PeterJones
                      last edited by andrecool-68

                      @PeterJones I don’t think we understand each other at all.

                      333.png
                      111.png
                      22.png

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • PeterJonesP
                        PeterJones @andrecool-68
                        last edited by

                        @andrecool-68 said in Help me find this menu "open file in browser":

                        I don’t think we understand each other at all.

                        I agree.

                        However, I am just going to drop it, because we both apparently understand how to make it translate both the menu entry and the shortcut mapper entry, even if we don’t like or agree with the way the other of us has tried to explain it.

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