You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WinUI3Localizer is a NuGet package that helps you localize your WinUI 3 app.
3
+
4
+
- Switch languages **without restarting**
5
+
- You/users can **edit** localized strings even after deployment
6
+
- You/users can **add** new languages even after deployment
7
+
- Use standard **Resources.resw**
8
+
9
+
## 🙌 Getting started
10
+
11
+
### Installing the WinUI3Localizer
12
+
Install the WinUI3Localizer from the NuGet Package Manager or using the command below.
13
+
14
+
```powershell
15
+
dotnet add package WinUI3Localizer
16
+
```
17
+
18
+
### Prepare the "Strings" folder
19
+
Create a "Strings" folder and populate it with your string resources files for the languages you need. For example, this is the basic structure of a "Strings" folder for English (en-US), es-ES (Spanish) and Japanese (ja).
20
+
21
+
- Strings
22
+
- en-US
23
+
- Resources.resw
24
+
- es-ES
25
+
- Resources.resw
26
+
- ja
27
+
- Resources.resw
28
+
29
+
The "Strings" folder can be anywhere as long the app can access it. Usually, aside the app executable for non-packaged apps, or in the LocalData folder for packaged-apps.
0 commit comments