Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ #13932

Closed
victorel-petrovich opened this issue Jul 26, 2023 · 2 comments
Assignees

Comments

@victorel-petrovich
Copy link

victorel-petrovich commented Jul 26, 2023

Description of the Issue

I was trying to follow https://npp-user-manual.org/docs/binary-translation/ , but step 4 there,

To see the changes take effect, save the file, then go to Settings > Preferences > General > Localization and select from the pulldown menu: this will copy localization<yourlanguagename>.xml to nativeLang.xml and will immediately update the Notepad++ application to use the text from your saved XML file.

fails: the new languages don't show up in that menu. They only show up if I download them to the localization folder inside the installation directory.

And so, any edits done to the local language .xml files are completely ignored.
Or is this the intended behavior and the doc needs change?

Steps to Reproduce the Issue

  1. Have installer version
  2. Put in user's %AppData%\Notepad++ a language .xml file (from https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/installer/nativeLang ), that is not already present when you look in: Settings -> Preferences -> General -> Localization.
  3. Restart N++ and check that Settings -> Preferences -> General -> Localization for presence of the new language.
  4. (optional) Delete localization folder in Installation directory
  5. check as in 3.

Expected Behavior

To see the locally added languages in that Pref. setting, and be able to edit language xml files from user %AppData% and see the changes reflected

Actual Behavior

For 3., the new languages absent in that Pref. setting
For 5., no languages show up at all there at all

Debug Information

Notepad++ v8.5.4 (32-bit)
Build time : Jun 17 2023 - 20:40:14
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 7 Ultimate (32-bit)
OS Build : 7601.24546
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExec (0.8.4)
NppExport (0.4)

@victorel-petrovich
Copy link
Author

Somewhat (?) related issue: #9306

@victorel-petrovich victorel-petrovich changed the title cannot change/edit language based on new xml files in localization folder in: %AppData%\Notepad++ cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ Jul 27, 2023
@victorel-petrovich victorel-petrovich changed the title cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ (bug) Cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ Jul 27, 2023
@victorel-petrovich victorel-petrovich changed the title (bug) Cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ Cannot change/edit language based on xml files in localization folder in: %AppData%\Notepad++ Aug 8, 2023
@donho donho self-assigned this Dec 12, 2023
@donho
Copy link
Member

donho commented Apr 15, 2024

Notepad++ User Manual has been updated:
notepad-plus-plus/npp-usermanual@0a2ecce

@donho donho closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants