Community
    • Login

    <Item id="41021"/>

    Scheduled Pinned Locked Moved Translation
    12 Posts 4 Posters 41.1k 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.
    • YaronY
      Yaron
      last edited by

      Hello Claudia and Tim,

      { VK_T, IDM_FILE_RESTORELASTCLOSEDFILE, true, false, true, TEXT("Restore Recent Closed File")},
      

      In Parameters.cpp.

      Just downloaded a fresh portable (7z) NPP 6.8.8, switched the interface language to Nederlands and that string appears in English.

      Claudia, how did you manage that? :)

      Thank you.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Yaron
        last edited by

        Hello Yaron,

        I guess I did nearly the same as you did, with one difference. So tried it again.
        I downloaded a new npp, opened it, (now the difference) loaded a file, closed it. Restarted npp
        and changed the language. If you do it this way then it works but if you first set the language, then it doesn’t.
        Well, the fix is easy ->change to english and again to nederlands -> done. But surprising, yes ;-)

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • YaronY
          Yaron
          last edited by

          Hello Claudia,

          Thanks for replying. I appreciate it.

          It’s clever, surprising and confusing. :)
          Anyway, closing NPP and restarting it - the stubborn string is back in English.

          Best regards.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Yaron
            last edited by

            Hello Yaron,

            and it seems that not only dutch is affected. Tried french, italian and german as well - same behaviour.
            Tracked it back, 6.8.0 was the last version which seems not to have this issue but from the history
            Fix “Restore recent close file” text disappearing issue for some circonstance. it had another issue.
            So, yes, this is a little bug.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • YaronY
              Yaron
              last edited by

              Hello Claudia,

              Indeed. When Don first introduced the “Restore recent close file” feature, the text would often disappear.
              In a later version Don “embedded” the text in Parameters.cpp, and the string - like many others - became “untranslatable”.

              That’s why I was surprised you had managed to localize it.
              Still confusing.

              I’d like to sincerely thank you for your invaluable help on the forum.

              Best regards.

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC
                Claudia Frank @Yaron
                last edited by

                Hello Yaron,

                sometimes it is good not to know what happened before, because than you
                do something which you wouldn’t try as you believe it can’t work.
                But sometimes, especially as this one, it’s just confusing others - I should have tested more carefully.

                And Yaron, special thx to you as well, can’t wait to see the next version of compare plugin.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • YaronY
                  Yaron
                  last edited by

                  Hello Claudia,

                  I agree with your first statement.
                  As for “I should have tested more carefully”: I don’t know. The interesting behavior you’ve exposed here might help Don fix the problem.

                  The Compare Plugin…
                  Thanks for your kind words. It needs some experienced and devoted developers. :)

                  Best regards.

                  1 Reply Last reply Reply Quote 0
                  • batagyB
                    batagy
                    last edited by

                    Hi!

                    Regading this item:
                    <Item id=“41021” name=“Restore Recent Closed File”/>

                    Well, this is a known problem which I was mentioned in PR #542 discussion , but it was finally ignored. Around 2015-05-10 , this was fixed, so that translation was picked up properly in Notepad++, but later in version 6.8.1 it went bad again. So the translation is not pickup up.

                    Thanks for Claudia, one workaround which I didn’t notice: if in Settings, if you change the language to English, then back to the Language, then the translation is picked up, but as soon as you open Notepad++ next time, it’s forgotten. I’ll post a bug report of this.

                    1 Reply Last reply Reply Quote 0
                    • batagyB
                      batagy
                      last edited by

                      Issue is officially created in #1476 now!

                      1 Reply Last reply Reply Quote 0
                      • YaronY
                        Yaron
                        last edited by

                        Hello batagy,

                        Thank you for your work in general and for the info provided here in particular.
                        Sorry for the late response. I’ve just seen your last posts.

                        Best regards.

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