<Item id="41021"/>



  • id=“41021” it doesn’t change in the menu

    English

    <Item id=“41021” name=“Restore Recent Closed File”/>

    Dutch

    <item id=“41021” name=“Laatste bestand opnieuw openen”/>



  • Hello Tim-Jager,

    it does on my npp 6.8.8 as seen here

    Cheers
    Claudia



  • 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.



  • 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



  • 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.



  • 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



  • 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.



  • 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



  • 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.



  • 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.



  • Issue is officially created in #1476 now!



  • 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.


Log in to reply