Transifex

  • Documentation
  • File formats
  • Qt Files (ts)

Qt Files (ts)

  • File extension: .ts
  • i18n type: QT

This is the format used by the Qt Framework.

Syntax

<!DOCTYPE TS>
<TS>
<context>
    <name>Additional information for the translator</name>
    <message>
        <source>Email address</source>
        <translation>Email address</translation>
    </message>
    <message numerus="yes">
        <location filename="../transifex/src/core.py" line="512"/>
        <source>%s minute</source>
        <translation>
        <numerusform>%s minute</numerusform><numerusform>%s minutes</numerusform>
        </translation>
    </message>
</context>
</TS>
  • Any text that is included in the <name></name> paired tag is handled as notes for the translators. This text can be found under the Context tab in the editor and it's available to all the source entries of the file:

qt_context.png#asset:4515

  • The value of the filename attribute is also exposed in Transifex Web Interface under the Context tab in the editor:

occurences_qt.png#asset:4516