Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Use Resx as resource file

Open taooceros opened this issue 4 years ago • 0 comments

#589 I have only changed Program plugin for testing.

Pros

  1. Plugins can have their own resources (so resources name won't have to include the long prefix).
  2. Plugins' window designer can recognize the resource.
  3. 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)
  4. We can remove the messy resource loading logic, and let the program itself do it.

Cons

  1. It cannot immediately reflect language change as previous in the settingwindow unless we redraw it or write a special extension for notification.
  2. The resx files is larger than the xaml resources file due to more markup (2-3x)

taooceros avatar Aug 07 '21 02:08 taooceros