Description of the Issue
If in main menu File the entry Recent Files is removed from the menu and added again later, it is not translated anymore.
Steps to Reproduce the Issue
- Open some files with Notepad++.
- Go to
(menu) Settings -> Preferences -> General -> Localization and set the UI language to something different than English.
- Close Notepad++.
- Restart Notepad++.
- Go to
(menu) File -> Recent Files -> Open All Recent Files (i.e. its translated pendant, please note that the menu entry Recent Files is translated now).
- After all the files from your recent files list have been opened, have a look at the
File main menu. The entry Recent Files (i.e. its translated pendant) has disappeared.
- Close one of the opened files.
- Have a look at the
File main menu again. This time the Recent Files entry has reappeared but it is not translated.
Screenshots



Expected Behavior
The File -> Recent Files menu entry should always be translated into the configured UI language.
Actual Behavior
Following the test sequence above, the File -> Recent Files menu entry will be not translated in step 8.
Debug Information
Notepad++ v7.9.2 (32-bit)
Build time : Dec 31 2020 - 03:58:36
Path : E:\Desktop\Notepad++ Portable\npp.7.9.2.bin.x86\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.1256
Current ANSI codepage : 1252
Plugins : AutoCodepage.dll BracketsCheck.dll ComparePlugin.dll Explorer.dll ExtSettings.dll LuaScript.dll MIMETools.dll NppConverter.dll NppEventExec.dll NppExec.dll NppExport.dll NppFTP.dll NppHorizontalRuler.dll NppMarkdownPanel.dll NppSaveAsAdmin.dll NppTextFX.dll NppToolBucket.dll NppUISpy.dll Pork2Sausage.dll ReloadFile.dll XMLTools.dll _CustomizeToolbar.dll
Description of the Issue
If in main menu
Filethe entryRecent Filesis removed from the menu and added again later, it is not translated anymore.Steps to Reproduce the Issue
(menu) Settings -> Preferences -> General -> Localizationand set the UI language to something different than English.(menu) File -> Recent Files -> Open All Recent Files(i.e. its translated pendant, please note that the menu entryRecent Filesis translated now).Filemain menu. The entryRecent Files(i.e. its translated pendant) has disappeared.Filemain menu again. This time theRecent Filesentry has reappeared but it is not translated.Screenshots
Expected Behavior
The
File -> Recent Filesmenu entry should always be translated into the configured UI language.Actual Behavior
Following the test sequence above, the
File -> Recent Filesmenu entry will be not translated in step 8.Debug Information
Notepad++ v7.9.2 (32-bit)
Build time : Dec 31 2020 - 03:58:36
Path : E:\Desktop\Notepad++ Portable\npp.7.9.2.bin.x86\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.1256
Current ANSI codepage : 1252
Plugins : AutoCodepage.dll BracketsCheck.dll ComparePlugin.dll Explorer.dll ExtSettings.dll LuaScript.dll MIMETools.dll NppConverter.dll NppEventExec.dll NppExec.dll NppExport.dll NppFTP.dll NppHorizontalRuler.dll NppMarkdownPanel.dll NppSaveAsAdmin.dll NppTextFX.dll NppToolBucket.dll NppUISpy.dll Pork2Sausage.dll ReloadFile.dll XMLTools.dll _CustomizeToolbar.dll