multilingual wpf application

前端 未结 4 2038
野的像风
野的像风 2020-12-23 10:50

I have a WPF application (in English) and I would like to let users to select different languages. I have read some possibilities to change languages in runtime applications

4条回答
  •  鱼传尺愫
    2020-12-23 11:30

    If you want to use RESX files instead of resource dictionaries, you can do it easily with static references in XAML.

    
        

    In the Resource folder is the MainWindow.resx, MainWindow.de.resx, etc. and every file contains a key MyTestKey with a translation.

提交回复
热议问题