Tipi di file supportati (Strings)

.QPH - Qt Phrase Book (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

Il Qt Phrase Book è un formato di file basato su XML utilizzato dai linguisti Qt per popolare contenuti pre-tradotti. Il suo elemento unitario è <phrase> con una nidificazione <source> e un elemento <target>.

Il Qt Phrase Book (.QPH) è diverso da Qt Translation Source (.TS) in quanto .QPH è un glossario, mentre .TS è un formato di file di scambio. .TS è utilizzato dalle applicazioni Qt per caricare contenuti localizzati nel software, mentre .QPH funge da terminologia nel Qt Linguist.

Campione di codice

<!DOCTYPE QPH>
<QPH language="en-GB">
  <phrase>
    <source>chiave_booleano</source>
    <target>--- vero
</target>
  </phrase>
  <phrase>
    <source>empty_string_translation</source>
    <target/>
  </phrase>
  <phrase>
    <source>chiave_con_descrizione</source>
    <target>Sono una descrizione molto importante per questa chiave! (Almeno in alcuni formati)</target>
  </phrase>
  <phrase>
    <source>chiave_con_a capo</source>
    <target>Questa traduzione contiene
un a capo.</target>
  </phrase>
  <phrase>
    <source>nested.deeply.key</source>
    <target>Wow, questa chiave è nidificata ancora più profondamente.</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>È stato 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>Chiave semplice, messaggio semplice, così semplice.</target>
  </phrase>
  <phrase>
    <source>unverified_key</source>
    <target>Questa traduzione non è ancora verificata e aspetta di esserlo.</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.