Package translate :: Package storage :: Module qph
[hide private]
[frames] | no frames]

Module qph

source code

Module for handling Qt Linguist Phrase Book (.qph) files.

Extract from the U{Qt Linguist Manual:
Translators<http://doc.trolltech.com/4.3/linguist-translators.html>}:
.qph Qt Phrase Book Files are human-readable XML files containing standard
phrases and their translations. These files are created and updated by Qt
Linguist and may be used by any number of projects and applications.

A DTD to define the format does not seem to exist, but the following U{code
U{code<http://qt.gitorious.org/qt/qt/blobs/4.7/tools/linguist/shared/qph.cpp}>
provides the reference implementation for the Qt Linguist product.

Classes [hide private]
  QphUnit
A single term in the qph file.
  QphFile
Class representing a QPH file store.

Imports: etree, data, accepts, Self, IsOneOf, String, lisa