WixLocalization 檔案

在 5.16.1 版被加入.

備註

Support for this format is under development. Some features might not yet be available and the behavior can change between releases. Feedback from testing is welcome.

WixLocalization (WXL) files are language files used to localize translatable text, dialogs, menus, for WiX Toolset.

範例檔案

範例 WXL 檔案:

<?xml version='1.0' encoding='utf-8'?>
<WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="cs-cz" Codepage="65001">
  <String Id="WixUIBack" Overridable="yes" Value="Back"/>
  <UI Id="WixUI_Mondo"/>
  <String Id="WixUICancel" Overridable="yes" Value="Cancel"/>
  <String Id="WixUINext" Overridable="yes" Value="Next page"/>
</WixLocalization>
支援的功能

副檔名

.wxl

語言能力

單語言

支援複數

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

wxl

支援唯讀字串

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

lang/*.wxl

單語的基底語言檔案

lang/en-us.wxl

新翻譯的範本

lang/en-us.wxl

檔案格式

WixLocalization 檔案