[UWP]“中文(简体)”的资源语言 [英] [UWP] Resource language for "Chinese (Simplified)"

查看:80
本文介绍了[UWP]“中文(简体)”的资源语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我会在我的应用程序中添加对"中文(简体)"语言的支持。

Hello,

I would add support for 'Chinese (Simplified)' language in my App.

在package.appxmanifest中我添加了:

In the package.appxmanifest I added:

  <资源>

   ... ...
   <资源语言=" ZH" />

  < / Resources>

  <Resources>
   ...
   <Resource Language="ZH" />
  </Resources>

但我收到以下错误:



"DEP0700:应用程序注册失败。""
"无法注册...包,因为指定的资源语言"ZH"不是有效语言。 (0x80073cf6)" b


在此页面中:https://msdn.microsoft.com/windows/uwp/publish/supported-languages

我看到'ZH'中文(简体),支持。



谢谢。

But I receive the following error:

"DEP0700 : Registration of the app failed."
"Cannot register the ... package because the specified resource language 'ZH' is not a valid language. (0x80073cf6)"

In this page: https://msdn.microsoft.com/windows/uwp/publish/supported-languages
I see that 'ZH' Chinese (Simplified), is supported.

Thanks.

推荐答案

Hello Prog200,

默认语言决定了当用户不会使用该应用程序支持的任何语言时使用的语言。

The default language determines the language that's used when the user doesn't speak any of the supported languages of the app.

应用程序当它不支持用户选择的任何语言时,使用默认语言。 Visual Studio使用默认语言将元数据添加到以该语言标记的资产,从而允许在运行时选择适当的资产。

默认语言属性还必须被设置为清单中的第一种语言以适当地设置应用程序语言(在步骤"创建
应用程序语言列表
")。

The default language property must also be set as the first language in the manifest to appropriately set the application language (described in the step "Create the application language list").

请参考
管理语言和地区
了解更多详情。 

Please refer to Manage language and region for more details. 

最诚挚的问候,

Xavier Eoro

Xavier Eoro


这篇关于[UWP]“中文(简体)”的资源语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆