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

Add the possibility to switch from other language to english by the -L argument. #8927

Closed
ArkadiuszMichalski opened this issue Sep 30, 2020 · 1 comment
Assignees
Labels
command line command line related issues translation Issues or PRs related to translation of N++ UI

Comments

@ArkadiuszMichalski
Copy link
Contributor

ArkadiuszMichalski commented Sep 30, 2020

Description of the Issue

Am I blind and only I can't do it? Argument -L works for all langs (excluding english, custom english and pig), basically only first is important.. I can't switch interface to english from other langs via -L argument. Why I need this:

  • because it's faster than go to Prefs >> General >> select....
  • because -L argument does not modify nativeLang.xml file, so after the job is done I can close the window without having to change the language back again (repeat above step).
  • because with -multiInst I can open next window in other language at the same time (without above step).
  • because arguments can be added to the system context menu or used as shortcuts - it's just more convenient and faster.

Steps to Reproduce the Issue

  1. Run Notepad++ in other language than english and close it.
  2. Try open Notepad++ with -L argument in english.

Unfortunatelly this not work:

notepad++.exe -L
notepad++.exe -Len

But that should mean the default language (english). Or any other value, like -Ldefault, -Len, -Lnot_recognized (so use english).

Debug Information

Notepad++ v7.9 (32-bit)
Build time : Sep 22 2020 - 03:24:22
Path : D:_test\NPPClean\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1250
Plugins : none

@ArkadiuszMichalski ArkadiuszMichalski changed the title Add the ability to switch language from ogher language to English via the -L argument. Add the ability to switch language from other language to English via the -L argument. Sep 30, 2020
@ArkadiuszMichalski ArkadiuszMichalski changed the title Add the ability to switch language from other language to English via the -L argument. Add the possibility to switch from other language to english by the -L argument. Sep 30, 2020
@ArkadiuszMichalski
Copy link
Contributor Author

Refs:
http://www.lingoes.net/en/translator/langcode.htm
https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/language-codes

We have two forms of providing these codes:
en-gb or en-GB
or
en_gb or en_GB

Would also be useful if we convert given value to one format: xx-xx (lowercase).

@ArkadiuszMichalski ArkadiuszMichalski self-assigned this Mar 1, 2023
@ArkadiuszMichalski ArkadiuszMichalski added translation Issues or PRs related to translation of N++ UI command line command line related issues labels Mar 5, 2023
@donho donho closed this as completed in 20f381e Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command line command line related issues translation Issues or PRs related to translation of N++ UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant