Compare resource names and text
The downloadable example keeps all five resource names while translating four text values. Use the same comparison when reviewing your file.
Translate the text in your .resx file into another language, with the aim of keeping its original structure and quality. Use the translated resource file to review your app’s wording before release.
Translation example
A five-entry English-to-Spanish example with four text strings and one picture reference. Resource names, two developer comments and the picture reference are unchanged.
4 of 4 strings that contain words differ from the source.
The ResXFileRef entry (Resources\logo.png) is byte for byte the same.
Both developer comments remain in English in this example.
2026-10-08 verified — Amanda Lee
The downloadable example keeps all five resource names while translating four text values. Use the same comparison when reviewing your file.
Choose from 100+ languages for your resource text, then review the wording where it appears in your application.
Use RESX translation when your application’s labels and messages are stored in a .resx resource file. Keep this format for a project that already uses it: translating the resource text does not require moving your strings to JSON or changing how the application retrieves them.
Microsoft’s resource-file documentation describes RESX as an XML format that can hold strings as well as images and other objects. A resource name identifies an entry; its displayed wording is a separate value. That distinction matters when you compare a translation with the original.
The English-to-Spanish example below contains four text strings and one picture reference. All four strings change, while the five resource names remain in the same order. The two developer comments stay in English, and the picture reference is unchanged. Both files also retain the same two resource headers.
Download both files to compare their resource entries. The example shows a welcome heading, a save button and two messages containing {0}. It provides a small, readable comparison of resource text and structure; it does not establish that every resource type will behave the same way or that a project will build.
Keep each placeholder linked to the same argument when reviewing a translated message. In .NET composite formatting, {0} refers to the first supplied argument. The example retains both occurrences in string values; another occurrence appears in a developer comment.
Try the translated messages with real values in your application, then check whether longer labels fit their controls. The sample does not exercise currency or date format items. If your file uses those, include them in the review before adding the translation to your release.
Upload your RESX file
Select the .resx resource file containing the labels or messages you want to translate.
Choose the RESX translation language
Select the language for the translated resource text.
Translate the resource text
Start the translation and keep your original file for comparison.
Download and review the RESX
Compare resource names and placeholders, then test the translated messages in your project.
Keep resource names consistent with the names your application uses. Translate the displayed wording instead. In the downloadable example, all five names are unchanged and four text values are translated.
Both comments remain in English, including the note explaining the {0} placeholder. They give context for the strings and are separate from the wording displayed to users.
No. It contains two plain {0} placeholders in string values, both retained in the Spanish file. It does not test format items such as {1:C} or {2:dd/MM/yyyy}; check those with the values your application supplies.
Review it in your project first. The example demonstrates changes to resource text, not a Visual Studio build or runtime test. Check resource loading, substituted values and the space available for translated labels before release.
Upload your resource file, choose a target language and review the translated text in your application.