Strange Issue Handling in WinUI 3 Applications

The WinUI 3 app runs fine under Debug mode but crashes when built in Release, with the error shown below.
I rarely encounter such weird issues in regular development. WinUI 3 throws internal runtime exceptions most of the time, making it tough to pinpoint useful clues from exception stacks.

Internationalization Options for WinUI 3

WinUI 3 fully supports internationalization. That said, the most reliable approach right now requires an app restart after switching languages for flawless results. While dynamic UI language refresh without restart is technically possible, the implementation gets overly complicated. I’ve spent ages troubleshooting this myself — running into broken UI text or crashes after language switches countless times.