Skip to content

Commit cc31687

Browse files
niels9001Copilot
andauthored
Move globalization to Develop (#6540)
* Move globalization * Push * Replace UWP app-resources links with hub/apps MRT Core equivalents Updated 9 conceptual links across 5 globalization docs to point to the hub/apps/windows-app-sdk/mrtcore/ pages instead of the legacy /windows/uwp/app-resources/ paths. API reference links (/uwp/api/) and the how-rms-matches-lang-tags link (no hub equivalent) were left unchanged. Co-authored-by: Copilot <[email protected]> * Update toc.yml * Update images-tailored-for-scale-theme-contrast.md * Update tailor-resources-lang-scale-contrast.md * Deduplicate content and add cross-references - images-tailored: Slimmed ResourceContext override intro, added cross-references to mrtcore-overview and localize-strings - localize-strings: Added see-also link to prepare-your-app - use-global-ready-formats: Added NumeralSystem values link Co-authored-by: Copilot <[email protected]> * Fix UWP link in widgets-picker-integration.md Updated images-tailored reference to point to the hub/apps MRT Core page instead of the legacy /windows/uwp/app-resources/ path. Co-authored-by: Copilot <[email protected]> * Merge guidelines into portal as Develop landing page Combined globalizing-portal.md and guidelines-and-checklist page into a single landing page for the Develop Globalization section. - Merged guidelines checklist table into globalizing-portal.md - Added BiDi text link to Getting started table - Removed Design considerations section (covered by sub-pages) - Deleted guidelines-and-checklist-for-globalizing-your-app.md - Added redirect for deleted page - Updated Develop TOC: portal is now section href, removed Overview - Updated Design TOC: replaced Globalization section with standalone BiDi text entry - Updated 6 references to the deleted guidelines page Co-authored-by: Copilot <[email protected]> * Update toc.yml * Update toc.yml --------- Co-authored-by: Copilot <[email protected]>
1 parent f5ae5c8 commit cc31687

22 files changed

Lines changed: 294 additions & 350 deletions

.openpublishing.redirection.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11410,6 +11410,21 @@
1141011410
"redirect_url": "/windows/apps/dev-tools/visual-studio",
1141111411
"redirect_document_id": false
1141211412
},
11413+
{
11414+
"source_path": "hub/apps/design/globalizing/use-patterns-to-format-dates-and-times.md",
11415+
"redirect_url": "/windows/apps/design/globalizing/use-global-ready-formats#use-templates-and-patterns-for-advanced-datetime-formatting",
11416+
"redirect_document_id": false
11417+
},
11418+
{
11419+
"source_path": "hub/apps/winui/winui3/localize-winui3-app.md",
11420+
"redirect_url": "/windows/apps/windows-app-sdk/mrtcore/localize-strings#localize-a-winui-3-packaged-app",
11421+
"redirect_document_id": false
11422+
},
11423+
{
11424+
"source_path": "hub/apps/design/globalizing/guidelines-and-checklist-for-globalizing-your-app.md",
11425+
"redirect_url": "/windows/apps/design/globalizing/globalizing-portal#guidelines-for-globalization",
11426+
"redirect_document_id": false
11427+
},
1141311428
{
1141411429
"source_path": "uwp/files/quickstart-listing-files-and-folders.md",
1141511430
"redirect_url": "/windows/apps/develop/files/list-files-folders",

hub/apps/design/globalizing/adjust-layout-and-fonts--and-support-rtl.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Dynamic layout is the recommended technique, and you'll be able to use it in the
2323
<TextBlock x:Uid="TitleText">
2424
```
2525

26-
For more info about Resources Files (.resw), property identifiers, and **x:Uid**, see [Localize strings in your UI and app package manifest](/windows/uwp/app-resources/localize-strings-ui-manifest).
26+
For more info about Resources Files (.resw), property identifiers, and **x:Uid**, see [Localize strings in your UI and app package manifest](/windows/apps/windows-app-sdk/mrtcore/localize-strings).
2727

2828
## Fonts
2929
Use the [**LanguageFont**](/uwp/api/Windows.Globalization.Fonts.LanguageFont?branch=live) font-mapping class for programmatic access to the recommended font family, size, weight, and style for a particular language. The **LanguageFont** class provides access to the correct font info for various categories of content including UI headers, notifications, body text, and user-editable document body fonts.
@@ -39,7 +39,7 @@ If your app has images that must be mirrored (that is, the same image can be fli
3939
<Image ... FlowDirection="RightToLeft" />
4040
```
4141

42-
If your app requires a different image to flip the image correctly, then you can use the resource management system with the `LayoutDirection` qualifier (see the LayoutDirection section of [Tailor your resources for language, scale, and other qualifiers](/windows/uwp/app-resources/tailor-resources-lang-scale-contrast#layoutdirection)). The system chooses an image named `file.layoutdir-rtl.png` when the app runtime language (see [Understand user profile languages and app manifest languages](manage-language-and-region.md)) is set to an RTL language. This approach may be necessary when some part of the image is flipped, but another part isn't.
42+
If your app requires a different image to flip the image correctly, then you can use the resource management system with the `LayoutDirection` qualifier (see the LayoutDirection section of [Tailor your resources for language, scale, and other qualifiers](/windows/apps/windows-app-sdk/mrtcore/tailor-resources-lang-scale-contrast#layoutdirection)). The system chooses an image named `file.layoutdir-rtl.png` when the app runtime language (see [Understand user profile languages and app manifest languages](manage-language-and-region.md)) is set to an RTL language. This approach may be necessary when some part of the image is flipped, but another part isn't.
4343

4444
## Handling right-to-left (RTL) languages
4545
When your app is localized for right-to-left (RTL) languages, use the [**FrameworkElement.FlowDirection**](/uwp/api/Windows.UI.Xaml.FrameworkElement.FlowDirection) property, and set symmetrical padding and margins. Layout panels such as [**Grid**](/uwp/api/Windows.UI.Xaml.Controls.Grid?branch=live) scale and flip automatically with the value of **FlowDirection** that you set.
@@ -118,6 +118,7 @@ Instead of a single line of code for all languages, this depends on the translat
118118
* [LanguageFont](/uwp/api/Windows.Globalization.Fonts.LanguageFont?branch=live)
119119

120120
## Related topics
121-
* [Localize strings in your UI and app package manifest](/windows/uwp/app-resources/localize-strings-ui-manifest)
122-
* [Tailor your resources for language, scale, and other qualifiers](/windows/uwp/app-resources/tailor-resources-lang-scale-contrast)
121+
* [Design your app for bidirectional text](design-for-bidi-text.md)
122+
* [Localize strings in your UI and app package manifest](/windows/apps/windows-app-sdk/mrtcore/localize-strings)
123+
* [Tailor your resources for language, scale, and other qualifiers](/windows/apps/windows-app-sdk/mrtcore/tailor-resources-lang-scale-contrast)
123124
* [Understand user profile languages and app manifest languages](manage-language-and-region.md)

hub/apps/design/globalizing/design-for-bidi-text.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,9 @@ Text editing requires the ability to compose in both right-to-left and left-to-r
206206
![Mail app left to right](images/56294_BIDI_21_email_orientation_LtR_resized.png)
207207

208208
![Mail app right to left](images/56294_BIDI_22_email_orientation_RtL_resized.png)
209+
210+
211+
## Related topics
212+
213+
* [Adjust layout and fonts, and support RTL](adjust-layout-and-fonts--and-support-rtl.md)
214+
* [Globalization and localization](globalizing-portal.md)

hub/apps/design/globalizing/glob-numeralsystem-values.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ These are the values for **NumeralSystem** that are supported in Windows.
6060
| Thai | Thai | U+0E50, U+0E51, U+0E52, U+0E53, U+0E54, U+0E55, U+0E56, U+0E57, U+0E58, U+0E59 |
6161
| Tibt | Tibetan | U+0F20, U+0F21, U+0F22, U+0F23, U+0F24, U+0F25, U+0F26, U+0F27, U+0F28, U+0F29 |
6262
| Vaii | Vai | U+A620, U+A621, U+A622, U+A623, U+A624, U+A625, U+A626, U+A627, U+A628, U+A629 |
63+
64+
## See also
65+
66+
* [Globalize your date/time/number formats](use-global-ready-formats.md)

0 commit comments

Comments
 (0)