dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++
GNU General Public License v3.0
9.24k stars 554 forks source link

Feture Request: Ability to change GUI language #499

Closed omeringen closed 9 months ago

omeringen commented 10 months ago

I request implementing language selection because i want my app running different language than system. On both Windows and GNU/Linux i am not able to change language.

I know there is https://github.com/dail8859/NotepadNext/issues/370 but looks like it's about something different.

diegoiast commented 10 months ago

I did this (back then...) for Aurora. The changelog says 15 years ago. Its lying, it was last week. I am pretty sure...

Anyway, feel free to rip code from that project :)

https://github.com/Arora/arora/blob/master/src/utils/languagemanager.cpp

dail8859 commented 10 months ago

I've started refactoring out the translation related code...which was needed.

@elcuco thanks! That will be a good reference.

dail8859 commented 9 months ago

I also ended up refactoring pretty much all of the settings/preferences related code as it was becoming burdensome to add new settings. Which made it much easier to implement this feature :)

As soon as I get some free time, I'll push what I have.