Skip to content

Commit 5f75feb

Browse files
Merge pull request #3644 from MicrosoftDocs/alvinashcraft-main-update-localize-strings-instructions
Update localize strings instructions for UWP and WinAppSDK pages
2 parents 189a96d + 4b0ff1a commit 5f75feb

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

hub/apps/windows-app-sdk/mrtcore/localize-strings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author: alvinashcraft
99
ms.localizationpriority: medium
1010
---
1111

12-
# Localize strings in your UI and app package manifest
12+
# Localize strings in your UI and the app package manifest
1313

1414
For more info about the value proposition of localizing your Windows App SDK app, see [Globalization and localization](/windows/apps/design/globalizing/globalizing-portal).
1515

@@ -27,9 +27,9 @@ Unlike image resources, where only one image resource is contained in an image r
2727
> [!NOTE]
2828
> 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.
2929
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`.
3333
> [!NOTE]
3434
> 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).
3535
3. Open `Resources.resw` and add these string resources.

uwp/app-resources/localize-strings-ui-manifest.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ Unlike image resources, where only one image resource is contained in an image r
2525
1. Set your app's default language.
2626
1. With your solution open in Visual Studio, open `Package.appxmanifest`.
2727
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.
2930
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).
3436
3. Open `Resources.resw` and add these string resources.
3537

3638
`Strings/en-US/Resources.resw`

0 commit comments

Comments
 (0)