Strings/<locale>/ folder. Hyperlocalise translates data string values and preserves comments and other XML structure.
Supported extensions: .resw.
Source file
Save this example asStrings/en-US/Resources.resw.
Configure your files
Use thisi18n.yml for the example, or add its file mapping to your existing bucket.
See path templates for other layouts.
Translate
Install the CLI and setOPENAI_API_KEY in your
project’s .env.local or shell. You can also configure another
AI provider.
Behavior and limitations
-
Uses the generic XML parser. Each
datanameidentifies itsvaluetext, including dotted names such asWelcome.Text. -
Comments, attributes, and metadata elements are preserved when
runwrites into an existing target whose key set still matches the source. -
If the source gains keys,
runuses 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
- Check translations before committing generated files.
- Local translation workflow explains repeat runs.
- Browse all file formats.

