Issue details
I'm writing a plugin, and want to display localized text depending on JadxSettings.getLangLocale().
Locale.getDefault() is using at the very first, locale from jadx settings is acquired and used later.
I notice that when opening the Plugin - Manage plugins dialog, a new JadxPlugin instance is created. JadxPlugin.getPluginInfo() is called and jadx locale text is returned. However, the old default locale text is displayed.
For example, if user select English in Jadx, but default locale is Chinese, Chinese is displayed instead of English in the end.
Jadx version
latest commit 8629e4c
Java version
21.0.9
OS
Issue details
I'm writing a plugin, and want to display localized text depending on
JadxSettings.getLangLocale().Locale.getDefault()is using at the very first, locale from jadx settings is acquired and used later.I notice that when opening the
Plugin - Manage pluginsdialog, a newJadxPlugininstance is created.JadxPlugin.getPluginInfo()is called and jadx locale text is returned. However, the old default locale text is displayed.For example, if user select English in Jadx, but default locale is Chinese, Chinese is displayed instead of English in the end.
Jadx version
latest commit 8629e4c
Java version
21.0.9
OS