Fitxers ResourceDictionary

Afegit a la versió 4.13.

ResourceDictionary és un format de fitxer XML monolingüe que s’utilitza per empaquetar recursos de cadena localitzables per a aplicacions de Windows Presentation Foundation (WPF).

Fitxer d’exemple:

<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>
Supported features

File extensions

.xaml

Lingualitat ⓘ

Monolingual

Supports plural ⓘ

No

Supports descriptions ⓘ

No

Admet l’explicació ⓘ

No

Supports context ⓘ

No

Supports location ⓘ

No

Supports flags ⓘ

Yes

API identifier

resourcedictionary

Admet cadenes de només lectura ⓘ

No

Supports removing obsolete strings ⓘ

No

Check flags added by this format ⓘ

Format C#

Configuració del Weblate

Placa web típica Configuració dels components

Filtre de fitxers

Languages/*.xaml

Fitxer de llengua base monolingüe

Language/en.xaml

Plantilla per a traduccions noves

«Buit».

Format de fitxer

ResourceDictionary file