RESX Import / Export for Mobile

Using the RESX file format to import/export content

Within the Localize dashboard we provide you with an ability to import and export phrases and website translations in various file formats.

You can also import/export Glossary terms.

Importing / Exporting

To see a general explanation of how importing and exporting works in Localize, click here. Be sure to adhere to the file requirements below so that Localize will be able to successfully read your files.

File Requirements


UTF-8 Character Encoding

Be sure that you are using the UTF-8 character encoding when working with the external files you are creating for importing purposes, so that special characters like accents are encoded properly.

The following are the requirements for the RESX file format.

The following header data is required for the file:

  • <?xml version="1.0" encoding="utf-8"?>
  • <root> - the root node
  • <languages> - the languages node specifies the source-language and target-language

The following header data is optional for the file:

  • <schema> - the schema node is optional as seen in the example below

The following data is required for each <phrase-data> node:

  • <phraseKey> - string: the key for the phrase
  • <phrase> - string: the source language phrase

The following data is optional for each <phrase-data> node:

  • <translation> - string: the translation of the source language phrase
  • <description> - string: provides context for your translators
  • <phraseId> - string: this internal ID will be seen in any files exported from Localize
  • <labels> - A comma-separated list of strings which are labels to apply to the phrase
  • Note that any pre-existing labels on the phrase will be replaced by the ones in the import file.
  • Any labels added to the phrase in the file being imported will be added to the Localize dashboard.
<?xml version="1.0" encoding="utf-8"?>
  <xsd:schema id="root" xmlns="" xmlns:xsd="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:element name="phrase-data">
          <xsd:element name="phraseKey" type="xsd:string" minOccurs="0" msdata:Ordinal="0" />
          <xsd:element name="phrase" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
          <xsd:element name="translation" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
          <xsd:element name="description" type="xsd:string" minOccurs="0" msdata:Ordinal="3" />
          <xsd:element name="phraseId" type="xsd:string" minOccurs="0" msdata:Ordinal="4" />
          <xsd:element name="labels" type="xsd:string" minOccurs="0" msdata:Ordinal="5" />
    <xsd:element name="languages">
          <xsd:attribute name="source-language" type="xsd:string" />
          <xsd:attribute name="target-language" type="xsd:string" />
  <languages source-language="en" target-language="es"/>
    <phrase><![CDATA[Welcome to our website!]]></phrase>
    <phrase><![CDATA[Forgot your password?]]></phrase>
    <translation><![CDATA[¿Olvidaste tu contraseña?]]></translation>
    <description>This is the context for this phrase.</description>


If your import fails you will see a message on screen after the failure occurs. Or you can view the error here under Import History.