Tipi di file supportati (Strings)

.TS - Origine traduzione Qt (Strings)

Contenuti tradotti automaticamente dall'inglese con Phrase Language AI.

Estensioni dei file 

.ts

Estensione API 

ts

Importa 

Esporta 

Supporto forme plurali 

No

Supporto descrizione 

Un formato di file di localizzazione standard basato su XML per applicazioni QT. Le traduzioni sono solitamente inserite nel tag <translation>. Ogni tag <translation> può avere diverse proprietà type tra cui unfinished, vanished, obsolete, ecc.  Assicurarsi che type=’unfinished’ sia aggiunto ai tag dove le Strings devono essere tradotte.

Campione di codice

<?xml version="1.0" encoding="UTF-8"?>
<TS version=\"2.0\" lingua=\"en-GB\">
  <context>
    <message>
      <source>boolean_key</source>
      <translation>--- true
</translation>
    </message>
    <message>
      <source>empty_string_translation</source>
      <translation/>
    </message>
    <message>
      <source>key_with_description</source>
      <translation>Questa chiave ha una descrizione! (Almeno in alcuni formati)</translation>
    </message>
    <message>
      <source>key_with_line-break</source>
      <translation>Questa traduzione contiene
un'interruzione di riga.</translation>
    </message>
    <message>
      <source>chiave.profondamente.annidata</source>
      <translation>Sono una chiave profondamente annidata.</translation>
    </message>
    <message>
      <origine>nested.chiave</origine>
      <translation>Vedi, questa chiave è annidata all'interno di un namespace.</translation>
    </message>
    <message>
      <source>null_translation</source>
      <translation/>
    </message>
    <message numerus="yes">
      <source>pluralized_key</source>
      <translation>
        <numerusform>Trovata solo una pluralizzazione.</numerusform>
        <numerusform>Ehi, hai %s pluralizzazioni!</numerusform>
        <numerusform>Non hai alcuna pluralizzazione.</numerusform>
      </translation>
    </message>
    <message>
      <source>sample_collection</source>
      <translation>---
- first item
- second item
- third item
</translation>
    </message>
    <message>
      <source>simple_key</source>
      <translation>Chiave semplice, messaggio semplice, così semplice.</translation>
    </message>
    <message>
      <source>unverified_key</source>
      <translation>Questa traduzione non è ancora verificata.</translation> (In alcuni formati esportiamo anche questo stato)</translation>
    </message>
  </context>
</TS>
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.