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
Copy file name to clipboardExpand all lines: hub/apps/windows-app-sdk/mrtcore/localize-strings.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,9 @@ Unlike image resources, where only one image resource is contained in an image r
27
27
> [!NOTE]
28
28
> At a minimum, you need to provide string resources localized for this default language. Those are the resources that will be loaded if no better match can be found for the user's preferred language or display language settings.
29
29
2. Create a Resources File (.resw) for the default language.
30
-
1. Under your project node, create a new folder and name it "Strings".
31
-
2. Under `Strings`, create a new sub-folder and name it "en-US".
32
-
3. Under `en-US`, create a new Resources File (.resw) and confirm that it is named "Resources.resw".
30
+
1. Under your project node, create a new folder and name it `Strings`.
31
+
2. Under `Strings`, create a new sub-folder and name it `en-US`.
32
+
3. Under `en-US`, create a new Resources File (.resw) (under the **WinUI** file types in the **Add New Item** dialog) and confirm that it is named `Resources.resw`.
33
33
> [!NOTE]
34
34
> If you have .NET Resources Files (.resx) that you want to port, see [Porting XAML and UI](/windows/uwp/porting/wpsl-to-uwp-porting-xaml-and-ui#localization-and-globalization).
35
35
3. Open `Resources.resw` and add these string resources.
Copy file name to clipboardExpand all lines: uwp/app-resources/localize-strings-ui-manifest.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,14 @@ Unlike image resources, where only one image resource is contained in an image r
25
25
1. Set your app's default language.
26
26
1. With your solution open in Visual Studio, open `Package.appxmanifest`.
27
27
2. On the Application tab, confirm that the Default language is set appropriately (for example, "en" or "en-US"). The remaining steps will assume that you have set the default language to "en-US".
28
-
<br>**Note** At a minimum, you need to provide string resources localized for this default language. Those are the resources that will be loaded if no better match can be found for the user's preferred language or display language settings.
28
+
> [!NOTE]
29
+
> At a minimum, you need to provide string resources localized for this default language. Those are the resources that will be loaded if no better match can be found for the user's preferred language or display language settings.
29
30
2. Create a Resources File (.resw) for the default language.
30
-
1. Under your project node, create a new folder and name it "Strings".
31
-
2. Under `Strings`, create a new sub-folder and name it "en-US".
32
-
3. Under `en-US`, create a new Resources File (.resw) and confirm that it is named "Resources.resw".
33
-
<br>**Note** If you have .NET Resources Files (.resx) that you want to port, see [Porting XAML and UI](../porting/wpsl-to-uwp-porting-xaml-and-ui.md#localization-and-globalization).
31
+
1. Under your project node, create a new folder and name it `Strings`.
32
+
2. Under `Strings`, create a new sub-folder and name it `en-US`.
33
+
3. Under `en-US`, create a new Resources File (.resw) (under the **XAML** file types in the **Add New Item** dialog) and confirm that it is named `Resources.resw`.
34
+
> [!NOTE]
35
+
> If you have .NET Resources Files (.resx) that you want to port, see [Porting XAML and UI](../porting/wpsl-to-uwp-porting-xaml-and-ui.md#localization-and-globalization).
34
36
3. Open `Resources.resw` and add these string resources.
0 commit comments