C
Qt Quick Ultralite translation Example
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="lv_LV"> <context> <name>translation</name> <message> <location filename="translation.qml" line="108"/> <source>English language (US) <img src="usa-flag-small-icon.png" width="38" height="20"></source> <oldsource>English language (US) <img src="usa-flag-small-icon.png"> width="38" height="20"</oldsource> <translation>Latviešu valoda <img src="latvia-flag-small-icon.png" width="40" height="20"></translation> </message> <message> <location filename="translation.qml" line="162"/> <location filename="translation.qml" line="204"/> <source>sunrise</source> <translation>saullēkts</translation> </message> <message> <location filename="translation.qml" line="168"/> <location filename="translation.qml" line="212"/> <source>hello</source> <translation type="unfinished"></translation> </message> <message> <location filename="translation.qml" line="154"/> <location filename="translation.qml" line="192"/> <source>orange</source> <comment>color</comment> <translation>oranža</translation> </message> <message> <location filename="translation.qml" line="158"/> <location filename="translation.qml" line="198"/> <source>orange</source> <comment>fruit</comment> <translation>apelsīns</translation> </message> </context> </TS>