ResourceDictionary 檔案¶
在 4.13 版被加入.
ResourceDictionary is a monolingual XML file format used to package localizable string resources for Windows Presentation Foundation (WPF) applications.
範例檔案:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib">
<system:String x:Key="hello_world">Hello World!</system:String>
<system:String x:Key="resource_key">Translated value.</system:String>
</ResourceDictionary>
檔案擴充 |
|
|---|---|
Linguality ⓘ |
單語言 |
Supports plural ⓘ |
|
支援描述 ⓘ |
|
支援解釋 ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API 識別碼 |
|
Supports read-only strings ⓘ |
|
Weblate 配置¶
典型的 Weblate 組件配置 |
|
|---|---|
檔案遮罩 |
|
單語的基底語言檔 |
|
新翻譯的範本 |
空 |
檔案格式 |
ResourceDictionary 檔案 |