Flow.Launcher
Flow.Launcher copied to clipboard
Use Resx as resource file
#589 I have only changed Program plugin for testing.
Pros
- Plugins can have their own resources (so resources name won't have to include the long prefix).
- Plugins' window designer can recognize the resource.
- Visual Studio contains designer to work with resx. (Rider contains even better designer to list all cultural resources at the same time so translator can see the content easier; Visual Studio seems to have an extension to do that)
- We can remove the messy resource loading logic, and let the program itself do it.
Cons
- It cannot immediately reflect language change as previous in the settingwindow unless we redraw it or write a special extension for notification.
- The resx files is larger than the xaml resources file due to more markup (2-3x)