Tipi di file supportati (Strings)

.RESX - Microsoft .NET (Strings)

Contenuti tradotti automaticamente dall'inglese con Phrase Language AI.

Estensioni dei file

.resx, .resw

Estensione API

resx

Importa

Esporta

Supporto forme plurali

No

Supporto descrizione

No

.NET è un framework di sviluppo software open origine per Microsoft Windows. La localizzazione per le app sviluppate utilizzando il lavoro .NET frame funziona principalmente con file di risorse (.resx).

I file .resx sono basati su XML con l'elemento radice <root>. Le Localizable Strings sono in genere incorporate in elementi <value> nidficati sotto <data>. Gli elementi <value> possono essere trovati anche in <resheader>, ma di solito si tratta di metadati non destinati alla traduzione.

Campione di codice

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <xsd:schema xmlns=" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" ID="root">
    <xsd:element name="data">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
        </xsd:sequence>
        <xsd:attribute name="name" type="xsd:string"/>
        <xsd:attribute name="type" type="xsd:string"/>
        <xsd:attribute name="mimetype" type="xsd:stringa"/>
      </xsd:complexType>
    </xsd:element>
  </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, Versione=4.0.0.0, Culture=Neutro, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Versione=4.0.0.0, Culture=Neutro, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="boolean_key">
    <valore>--- true
</value>
  </data>
  <data name="empty_string_translation">
    <value/>
  </data>
  <data name="key_with_description">
    <value>Questa è una decrittazione! (Per alcuni formati almeno)</value>
    <commenta>Questa è la descrizione superba per questa chiave!</commenta>
  </data>
  <data name="key_with_line-break">
    <value>Questa traduzione contiene
un'interruzione di riga.</value>
  </data>
  <data name="nested.deeply.key">
    <value>Sono una chiave profondamente nidificata.</value>
  </data>
  <data name="nested.key">
    <value>Questa chiave è nidificata all'interno di uno spazio dei nomi.</value>
  </data>
  <data name="null_translation">
    <value/>
  </data>
  <data name="pluralized_key">
    <value>Questo potrebbe essere pluralizzato.</value>
  </data>
  <data name="sample_collection">
    <value>---
- primo elemento
- secondo elemento
- terzo elemento
</value>
  </data>
  <data name="simple_key">
    <value>chiave semplice, messaggio semplice, tutto così semplice.</value>
  </data>
  <data name="unverified_key">
    <value>Questa traduzione non è ancora verificata e la sta aspettando. (In alcuni formati esportiamo anche questo stato)</value>
  </data>
</root>
Questo articolo ti è stato utile?

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.