C

Qt Quick Ultralite translation Example

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja_JP" 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>