Skip to content
Rudy Huyn edited this page Aug 2, 2019 · 25 revisions

📦 Installation Guide

⚙️ How to install ReswPlus
⚙️ How to use ReswPlus in your project

🔧 Features

Strongly Typed class generator

ReswPlus can generate a class exposing all strings from your .resw files as strongly typed static properties, providing a compile-time-safe way to access those strings XAML-side or code-side.

⚙️ How to generate a strongly typed class

Pluralization

ReswPlus can add support of pluralization and plural forms to your localization strings. Plural forms of 196 languages are currently supported by ReswPlus.

⚙️ How to add pluralization
⚙️ Support Empty States
⚙️ Languages supported

String Formatting

To simplify your ViewModels and Views, ReswPlus can directly manage the formatting of your localization and generate strongly typed methods to format your strings.

⚙️ How to use String Formatting
⚙️ Named parameters
⚙️ Use String References
⚙️ Use Literal Strings
⚙️ Use Macros

Variants

ReswPlus can support many variants/versions of the same string and allow you to display the one you want based on some criteria (variants to support genders, different messages depend of some criteria...)

⚙️ How to use variants

.Net String formatting for C++ projects

String formatting in C++ is a quite different and a more complicated than in C#/VB.Net. ReswPlus provides you a way to use the same string templates than in you use in .Net (via String.Format) but in your C++ project, making your resource files shareable with .Net libraries and simplifying your code.

⚙️ Use .Net String Formatting