Tipi di file supportati (Strings)

.QPH - Qt Phrase (Strings)

Contenuti tradotti automaticamente dall'inglese con Phrase Language AI.

Estensioni dei file 

.qph

Estensione API 

qph

Importa 

Esporta 

Supporto forme plurali 

No

Supporto descrizione 

No

Qt Phrase è un formato di file basato su XML utilizzato dai traduttori Qt per popolare il contenuto pre-tradotto. Il suo elemento unit è <phrase> con un elemento <source> e un elemento <target> annidati.

Qt Phrase (.QPH) è diverso da Qt Translation origine (.TS) in quanto .QPH è un glossario, mentre .TS è un formato di file di scambio. .TS è utilizzato dalle applicazioni Qt per caricare il contenuto localizzato nel software, mentre .QPH funge da database terminologico in Qt traduttore.

Campione di codice

<!DOCTYPE QPH>
<QPH language="en-GB">
  <phrase>
    <source>boolean_key</source>
    <target>--- true
</target>
  </phrase>
  <phrase>
    <source>empty_string_translation</source>
    <target/>
  </phrase>
  <phrase>
    <source>key_with_description</source>
    <target>Sono una descrizione molto importante per questa chiave!</target> (Almeno in alcuni formati)</target>
  </phrase>
  <phrase>
    <source>key_with_line-break</source>
    <target>Questa traduzione contiene
un'interruzione di riga.</target>
  </phrase>
  <phrase>
    <source>nested.deeply.key</source>
    <target>Wow, questa chiave è annidata ancora più in profondità.</target>
  </phrase>
  <phrase>
    <source>nested.key</source>
    <target>Questa chiave è annidata all'interno di uno spazio dei nomi.</target>
  </phrase>
  <phrase>
    <source>null_translation</source>
    <target/>
  </phrase>
  <phrase>
    <source>pluralized_key_one</source>
    <target>Trovato solo un gattino.</target>
  </phrase>
  <phrase>
    <source>pluralized_key_other</source>
    <target>Wow, hai %s gattini!</target>
  </phrase>
  <phrase>
    <source>pluralized_key_zero</source>
    <target>Non hai gattini.</target>
  </phrase>
  <phrase>
    <source>sample_collection</source>
    <target>---
- first item
- second item
- third item
</target>
  </phrase>
  <phrase>
    <source>simple_key</source>
    <target>Simple key, simple message, so simple.</target>
  </phrase>
  <phrase>
    <source>unverified_key</source>
    <target>Questa traduzione non è ancora verificata.</target> (In alcuni formati esportiamo anche questo stato)</target>
  </phrase>
</QPH>
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.