C
Qt Quick Ultralite translation Example
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="ar_SA" sourcelanguage="en_US"> <context> <name>translation</name> <message> <location filename="translation.qml" line="115"/> <location filename="translation.qml" line="175"/> <source>orange</source> <comment>color</comment> <translation>لون برتقالي</translation> </message> <message> <location filename="translation.qml" line="125"/> <location filename="translation.qml" line="186"/> <source>orange</source> <comment>fruit</comment> <translation>فاكهة البرتقال</translation> </message> <message> <location filename="translation.qml" line="135"/> <location filename="translation.qml" line="197"/> <source>sunrise</source> <translation>شروق الشمس</translation> </message> <message> <location filename="translation.qml" line="145"/> <location filename="translation.qml" line="210"/> <source>hello</source> <translation></translation> </message> </context> </TS>