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 los lingüistas de Qt para poblar contenido pretraducido. Su elemento unitario es <phrase> con un anidamiento <source> 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 aplicaciones de Qt para cargar contenido localizado en el software, mientras que .QPH sirve como una base de términos en Qt Linguist.

Ejemplo de código

<!DOCTYPE QPH>
<QPH language="en-GB">
  <phrase>
    <source>boolean_key</source>
    <target>--- verdadero
</target>
  </phrase>
  <phrase>
    <source>empty_string_translation</source>
    <target/>
  </phrase>
  <phrase>
    <source>key_with_description</source>
    <target>¡Soy una descripción muy importante para esta clave! (Al menos en algunos formatos)</target>
  </phrase>
  <phrase>
    <source>key_with_line-break</source>
    <target>Esta traducción contiene
un salto de línea.</target>
  </phrase>
  <phrase>
    <source>nested.deeply.key</source>
    <target>Wow, 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>¡Vaya, 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 exportamos 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.