Fichiers ResourceDictionary

Ajouté dans la version 4.13.

ResourceDictionary is a monolingual XML file format used to package localizable string resources for Windows Presentation Foundation (WPF) applications.

Fichier d’exemples :

<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>
Fonctionnalités prises en charge

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

Format C#

Configuration Weblate

Configuration des composants typique de Weblate

Masque de fichier

Languages/*.xaml

Fichier de langue de base mono-langue

Language/en.xaml

Modèle pour les nouvelles traductions

Vide

Format de fichier

fichier ResourceDictionary