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>

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