是否可以更改 Orc.Wizard 使用的 UICulture?

Is it possible to change the used UICulture for Orc.Wizard?

我创建了一个无论当前系统文化如何都使用英语的应用程序。 对于所有 catel windows 使用 DataWindowMode.Custom 没有问题,例如

AddCustomButton(new DataWindowButton("Save", "SaveCommand"));

在构造函数中。

现在我创建了一个带有一些页面的向导 (Orc.Wizard),但是我找不到改变所用按钮和弹出窗口 windows 的文化的方法,例如取消向导。 更改 Current(UI)Culture 和 DefaultThreadCurrent(UI)Culture 无效。

是否有一种简单的方法来更改 Orc.Wizard 的 uiculture,或者我必须自定义向导的默认实现(复制意大利面)?

因此,在查看示例后,我发现您必须使用 catel 语言服务。我在 App.xaml.cs

中添加了这个
protected override void OnStartup(StartupEventArgs e) {
    var serviceLocator = ServiceLocator.Default;
    var langService = serviceLocator.ResolveType<ILanguageService>();
    langService.PreferredCulture = new CultureInfo("en-US");
    langService.FallbackCulture = new CultureInfo("en-US");
} 

这成功了。