Supported File Types (Strings)

.RESX - Microsoft .NET (Strings)

Content is machine translated from English by Phrase Language AI.

File Extensions

.resx, .resw

API Extension






Plural forms support


Description support


.NET is an open-source software development framework for mainly Microsoft Windows. Localization for apps developed using the .NET framework work primarily with resources files (.resx).

.resx files are XML-based with the root element being <root>. Localizable strings are typically embedded in <value> elements nested under <data>. <value> elements may also be found in <resheader> but these are usually metadata not intended for translation.

Code Sample

<?xml version="1.0" encoding="UTF-8"?>
  <xsd:schema xmlns="" xmlns:xsd="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
    <xsd:element name="data">
          <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
        <xsd:attribute name="name" type="xsd:string"/>
        <xsd:attribute name="type" type="xsd:string"/>
        <xsd:attribute name="mimetype" type="xsd:string"/>
  <resheader name="resmimetype">
  <resheader name="version">
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  <data name="boolean_key">
    <value>--- true
  <data name="empty_string_translation">
  <data name="key_with_description">
    <value>Now that's a decsription! (For some formats at least)</value>
    <comment>This is the superb description for this key!</comment>
  <data name="key_with_line-break">
    <value>This translations contains
a line-break.</value>
  <data name="nested.deeply.key">
    <value>I'm a deeply nested key.</value>
  <data name="nested.key">
    <value>This key is nested inside a namespace.</value>
  <data name="null_translation">
  <data name="pluralized_key">
    <value>This could be pluralized.</value>
  <data name="sample_collection">
- first item
- second item
- third item
  <data name="simple_key">
    <value>simple key, simple message, everything so simple.</value>
  <data name="unverified_key">
    <value>This translation is not yet verified and is waiting for it. (In some formats we export this status as well)</value>
Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.