Skip to main content
The strings and images referenced in MicrosoftGame.config can be localized to the user’s locale. Visual Studio 2019+ auto-generates a resources.pri file that the OS looks up at runtime. Dump the file from the GDK command prompt:

Localizing app name and description

Add default strings

  1. Right-click your project in Solution Explorer and add a New Filter named Strings.
  2. Right-click Strings and add a New Item > Assembly Resource File (.resx). VS creates resources.resx at the package root.
The GDK requires .resw. Rename resources.resx to resources.resw.

Reference strings in MicrosoftGame.config

Add per-language strings

Create a Strings/<lang> filter per supported language, add an Assembly Resource File under each, set Item Type = PRI Resource, and rename to .resw.

Declare languages in MicrosoftGame.config

For Traditional Chinese support, also list zh-SG and zh-CN for fallback.

Localizing images

Logo, SmallLogo, SplashScreen, StoreLogo can be localized:
  1. Add per-language subfolders under a shared folder (e.g. Images).
  2. Add images with Item Type = Image, Content = Yes.
  3. Provide default images at the root as fallbacks.
Include at least one image resource. Otherwise localized strings won’t resolve and the title’s name shows as ms-resource:AppName.

Chunk layout

Intelligent Delivery

Tag chunks with Languages:

Install behavior

  • Console en-US → installs 1005 and 1008.
  • Console en-GB → falls back to en-US → installs 1005 and 1008.
  • Untagged chunks always install.

Testing with xbapp

  • /Languages — install for listed languages regardless of console setting.
  • /AllChunks — install the entire package.
  • /w — keep the connection open after install.

See also

Last modified on August 5, 2026