本地化 JSON 架构参考

Microsoft Teams 本地化文件介绍了基于客户端语言设置提供的语言翻译。 文件必须符合托管在 https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.Localization.schema.json的架构。

提示

在清单开头指定要从代码编辑器启用 IntelliSense 或类似支持的架构:“$schema”:“https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json”。

示例

本地化 JSON 架构 v1.16 的示例如下:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明 必需
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
staticTabs\\[([0-9]/1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.samplePrompts\\[[0-4]\\]\\.text String 128 示例提示的内容。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title 字符串 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText 字符串 128 例如:“{actor} 为你创建了任务 {taskId}”。
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ String 128 替换应用清单中的相应字符串。

本地化架构 v1.15

本地化架构 v1.15

指向本地化架构 v1.15 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.15/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.15/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明 必需
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。 ✔️
staticTabs\\[([0-9]/1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ 字符串 128 替换应用清单中的相应字符串。

本地化架构 v1.14

本地化架构 v1.14

指向本地化架构 v1.14 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.14/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.14/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ String 128 替换应用清单中的相应字符串。

本地化架构 v1.13

本地化架构 v1.13

指向本地化架构 v1.13 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ 字符串 128 替换应用清单中的相应字符串。

本地化架构 v1.12

本地化架构 v1.12

指向本地化架构 v1.12 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ 字符串 128 替换应用清单中的相应字符串。

本地化架构 v1.11

本地化架构 v1.11

指向本地化架构 v1.11 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ String 128 替换应用清单中的相应字符串。

本地化架构 v1.10

本地化架构 v1.10

指向本地化架构 v1.10 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.10/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.10/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"
meetingExtensionDefinition.scenes \\[[0-9]\\]\\.name$ 字符串 128 替换应用清单中的相应字符串。

本地化架构 v1.9

本地化架构 v1.9

指向本地化架构 v1.9 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name String 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"

本地化架构 v1.8

本地化架构 v1.8

指向本地化架构 v1.8 的链接: https://developer.microsoft.com/en-us/json-schemas/teams/v1.8/MicrosoftTeams.Localization.schema.json

示例:

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.8/MicrosoftTeams.Localization.schema.json",
    "name.short": "Portail de Développement",
    "name.full": "Portail des développeurs",
    "description.short": "Configurer, distribuer et gérer vos applications Microsoft Teams",
    "description.full": "Anciennement App Studio, le portail des développeurs peut vous aider où que vous soyez dans votre parcours de développement d’applications Microsoft Teams.1. Configurez une nouvelle application ou importez une application existante.2. Configurez les fonctionnalités de votre application et d’autres métadonnées importantes.3. Obtenez des ressources pour vous aider à créer une application de haute qualité.3. Testez votre application directement dans Teams.4. Distribuez votre application dans votre organisation ou dans le Store Teams.5. Analysez l’utilisation, l’engagement et d’autres informations sur votre application. Le portail inclut également des outils pour concevoir des scènes virtuelles personnalisées, des cartes adaptatives et l’intégration à la Plateforme d’identités Microsoft.",
    "staticTabs[0].name": "Accueil",
    "staticTabs[1].name": "Applications",
    "staticTabs[2].name": "Outils",
    "staticTabs[3].name": "Developer Portal",
    "bots[0].commandLists[0].commands[0].title": "Rechercher",
    "bots[0].commandLists[0].commands[0].description": "Rechercher la documentation Teams appropriée"
}

架构定义以下属性:

属性 类型 最大长度 说明
$schema URI 不适用 引用清单的 JSON 架构的 https:// URL。
name.short 字符串 30 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
name.full 字符串 100 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.short String 80 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
description.full 字符串 4000 将应用清单中的相应字符串替换为此处提供的值。 本地化 JSON 中需要 属性。
staticTabs\\[([0-9]|1[0-5])\\]\\.name 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title String 32 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description 字符串 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value String 512 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title String 128 将应用清单中的相应字符串替换为此处提供的值。
composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title String 64 将应用清单中的相应字符串替换为此处提供的值。
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description String 128 通知的简要说明
activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText String 128 例如:"{actor} 为你创建了任务 {taskId}"

另请参阅