如何为 CaptionML 生成 xliff 文件
How to generate an xliff file for CaptionML
我正在使用 AL Visual Studio 代码扩展创建一个简单的扩展,我想要一个 xliff 文件以便我可以翻译我的 CaptionML。
如何获取该文件?
这是我的app.json
{
"id": "ba7ba688-4dfe-4594-9870-2db44fec7321",
"name": "test",
"publisher": "Default publisher",
"brief": "",
"description": "",
"version": "1.0.0.0",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"capabilities": [],
"dependencies": [],
"screenshots": [],
"platform": "11.0.0.0",
"application": "11.0.0.0",
"idRange": {
"from": 50100,
"to": 50149
}
}
这是我的扩展代码:
pageextension 50100 CustomerListExt extends "Customer List"
{
layout {
addafter(Name) {
field(NameAgain;Name) {
CaptionML = ENU = 'Another name field';
}
}
}
}
您需要在 app.json 中添加以下 属性:
"features": ["TranslationFile"]
我正在使用 AL Visual Studio 代码扩展创建一个简单的扩展,我想要一个 xliff 文件以便我可以翻译我的 CaptionML。
如何获取该文件?
这是我的app.json
{
"id": "ba7ba688-4dfe-4594-9870-2db44fec7321",
"name": "test",
"publisher": "Default publisher",
"brief": "",
"description": "",
"version": "1.0.0.0",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"capabilities": [],
"dependencies": [],
"screenshots": [],
"platform": "11.0.0.0",
"application": "11.0.0.0",
"idRange": {
"from": 50100,
"to": 50149
}
}
这是我的扩展代码:
pageextension 50100 CustomerListExt extends "Customer List"
{
layout {
addafter(Name) {
field(NameAgain;Name) {
CaptionML = ENU = 'Another name field';
}
}
}
}
您需要在 app.json 中添加以下 属性:
"features": ["TranslationFile"]