Skip to main content
.resw files store Windows Runtime string resources in XML. UWP, WinUI, and WinAppSDK apps typically keep one file per locale under a Strings/<locale>/ folder. Hyperlocalise translates data string values and preserves comments and other XML structure. Supported extensions: .resw.

Source file

Save this example as Strings/en-US/Resources.resw.

Configure your files

Use this i18n.yml for the example, or add its file mapping to your existing bucket. See path templates for other layouts.

Translate

Install the CLI and set OPENAI_API_KEY in your project’s .env.local or shell. You can also configure another AI provider.
The dry run previews the work. The second command writes translations to the configured target path and updates the lockfile.

Behavior and limitations

  • Uses the generic XML parser. Each data name identifies its value text, including dotted names such as Welcome.Text.
  • Comments, attributes, and metadata elements are preserved when run writes into an existing target whose key set still matches the source.
  • If the source gains keys, run uses the source file as the template. Target-only resources and target-only comments are not merged back. This matches other generic XML catalogs, including .resx.
  • Use text-only resources. Mixed-content XML is unsupported.
  • Changed CDATA values are written as escaped text. See XML for shared behavior.

Next steps