Skip to content
Novus Examples
resx1.6 KB

.NET RESX — English

A .NET Resources.resx file (English) with the standard ResX schema and resheader block plus name/value string data and comments, using {0} composite-format placeholders.

Preview — first 47 linesresx
<?xml version="1.0" encoding="utf-8"?>
<root>
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:element name="root" msdata:IsDataSet="true" />
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="Greeting" xml:space="preserve">
    <value>Hello</value>
    <comment>Greeting shown on the home screen</comment>
  </data>
  <data name="Welcome" xml:space="preserve">
    <value>Welcome, {0}</value>
    <comment>Welcome message with the user's name</comment>
  </data>
  <data name="Save" xml:space="preserve">
    <value>Save</value>
    <comment>Save button label</comment>
  </data>
  <data name="Cancel" xml:space="preserve">
    <value>Cancel</value>
    <comment>Cancel button label</comment>
  </data>
  <data name="Search" xml:space="preserve">
    <value>Search</value>
    <comment>Search field placeholder</comment>
  </data>
  <data name="Settings" xml:space="preserve">
    <value>Settings</value>
    <comment>Settings menu item</comment>
  </data>
  <data name="Logout" xml:space="preserve">
    <value>Log out</value>
    <comment>Log out menu item</comment>
  </data>
</root>

Specifications

Format
.NET RESX (XML)
Culture
invariant/en
Placeholder
{0}
Entries
7

What is a .resx file?

.resx is a .NET XML resource file that stores localizable strings (and other resources) as name/value data elements, with a standard header block declaring the ResX schema and reader/writer types. Per-culture files like Resources.es.resx provide translations that the .NET runtime resolves by culture.

How to use this file

Use an example .resx file to test .NET resource parsers, Visual Studio resource editors, RESX-to-other-format converters, and satellite-assembly localization tooling.

Generated by generation/localization.py. Free for any use, no attribution required — license.