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

Linguality

單語言

Supports plural

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

wxl

Supports read-only strings

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

lang/*.wxl

單語的基底語言檔

lang/en-us.wxl

新翻譯的範本

lang/en-us.wxl

檔案格式

WixLocalization 檔案