Tipos de archivo admitidos (Strings)

.QPH - Qt Phrase Book (Strings)

El contenido se traduce automáticamente del inglés por Phrase Language AI.

Extensiones de archivo 

.qph

Extensión API 

qph

Importación 

Exportación 

Compatibilidad con formularios plurales 

No

Compatibilidad con descripción 

No

Qt Phrase Book es un formato de archivo basado en XML utilizado por Qt Linguist para completar contenido pretraducido. Su elemento unitario es <phrase> con un <source> anidado y un elemento <target>.

Qt Phrase Book (.QPH) es diferente de Qt Translation Source (.TS) en que .QPH es un glosario, mientras que .TS es un formato de archivo de intercambio. .TS es utilizado por las aplicaciones de Qt para cargar contenido localizado en el software, mientras que .QPH sirve como base terminológica en Qt Linguist.

Ejemplo de código

<!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>I'm a very important description for this key!" (At least in some formats)</target>
  </phrase>
  <phrase>
    <source>key_with_line-break</source>
    <target>This translations contains
a line-break.</target>
  </phrase>
  <phrase>
    <source>nested.deeply.key</source>
    <target>Guau, esta clave está anidada aún más profundamente.</target>
  </phrase>
  <phrase>
    <source>nested.key</source>
    <target>Esta clave está anidada dentro de un espacio de nombres.</target>
  </phrase>
  <phrase>
    <source>null_translation</source>
    <target/>
  </phrase>
  <phrase>
    <source>pluralized_key_one</source>
    <target>Solo se encontró un gatito.</target>
  </phrase>
  <phrase>
    <source>pluralized_key_other</source>
    <target>¡Guau, tienes %s gatitos!</target>
  </phrase>
  <phrase>
    <source>pluralized_key_zero</source>
    <target>No tienes gatitos.</target>
  </phrase>
  <phrase>
    <source>sample_collection</source>
    <target>---
- first item
- second item
- third item
</target>
  </phrase>
  <phrase>
    <source>simple_key</source>
    <target>Clave simple, mensaje simple, tan simple.</target>
  </phrase>
  <phrase>
    <source>unverified_key</source>
    <target>Esta traducción aún no está verificada y espera por ello.</target> (En algunos formatos también exportar este estado)</target>
  </phrase>
</QPH>
¿Fue útil este artículo?

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.