ResourceDictionary-filer

Added in version 4.13.

ResourceDictionary är ett enspråkigt XML-filformat som används för att paketera lokaliserbara strängresurser för Windows Presentation Foundation (WPF)-applikationer.

Exempelfil:

<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>
Stödda funktioner

File extensions

.xaml

Linguality

Monolingual

Supports plural

No

Supports descriptions

No

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

Yes

API identifier

resourcedictionary

Supports read-only strings

No

Check flags added by this format

C#-format

Weblate-konfiguration

Typisk Weblate Komponentkonfiguration

Filmask

Languages/*.xaml

Enspråkig basspråkfil

Language/en.xaml

Mall för nya översättningar

Tom

Filformat

ResourceDictionary-fil