<a id="qtling"></a>

# Qt Linguist .ts

<a id="index-0"></a>

ຮູບແບບການແປທີ່ໃຊ້ໃນແອັບພລິເຄຊັນທີ່ອີງໃສ່ Qt.

ໄຟລ໌ Qt Linguist ແມ່ນຖືກໃຊ້ເປັນທັງການແປແບບສອງພາສາ (bilingual) ແລະ ພາສາດຽວ (monolingual). Weblate ຮອງຮັບທັງຮູບແບບເວີຊັນ 2 ໃນປະຈຸບັນ ແລະ ເວີຊັນ 1 ແບບເກົ່າ. ໃຫ້ເລືອກຮູບແບບໄຟລ໌ທີ່ກົງກັບເວີຊັນທີ່ແອັບພລິເຄຊັນຂອງທ່ານສ້າງຂຶ້ນ.

#### SEE ALSO
* [ຄູ່ມື Qt Linguist](https://doc.qt.io/qt-6/qtlinguist-index.html)
* [Qt .ts](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/ts.html)
* [ຮູບແບບ bilingual ແລະ monolingual](https://docs.weblate.org/lo/latest/formats.md#bimono)

## ເວີຊັນ 2

ນີ້ແມ່ນຮູບແບບເລີ່ມຕົ້ນສຳລັບໄຟລ໌ `.ts` ແລະ ຮອງຮັບຄຸນສົມບັດທັງໝົດຂອງ Qt Linguist ທີ່ມີໃຫ້ໃຊ້ໃນ Weblate.

ໄຟລ໌ຕົວຢ່າງ:

```xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="cs">
<defaultcodec>UTF-8</defaultcodec>
<context>
    <name></name>
    <message weblate-flags="c-format, max-length:100">
        <source>Hello, world!
</source>
        <translation>Ahoj svete!
</translation>
    </message>
    <message numerus="yes">
        <source>Orangutan has %d banana(s).
</source>
        <translation type="unfinished">
            <numerusform />
            <numerusform />
            <numerusform />
        </translation>
    </message>
</context>
<context>
    <name>Second</name>
    <message>
        <source>Try Weblate at &lt;https://demo.weblate.org/&gt;!</source>
        <translation type="unfinished"></translation>
    </message>
    <message>
        <source>Thank you for using Weblate.</source>
        <translation type="unfinished">Thanks</translation>
    </message>
    <message>
        <source>Obsolete</source>
        <translation type="obsolete">Thanks</translation>
    </message>
</context>
</TS>
```

<!-- AUTOGENERATED START: format-features ts -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### ຄຸນສົມບັດທີ່ຮອງຮັບ

| ນາມສະກຸນໄຟລ໌                                                                                    | `.ts`                         |
|-------------------------------------------------------------------------------------------------|-------------------------------|
| ຈຳນວນພາສາ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#bimono)                               | ເປັນທັງແບບພາສາດຽວ ແລະ ສອງພາສາ |
| ຮອງຮັບພະຫູພົດ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-plurals)                   | `Yes`                         |
| ຮອງຮັບຄຳອະທິບາຍ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-description)             | `Yes`                         |
| ຮອງຮັບຄຳຊີ້ແຈງ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-explanation)              | `No`                          |
| ຮອງຮັບບໍລິບົດ (context) [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-context)         | `Yes`                         |
| ຮອງຮັບຕຳແໜ່ງ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-location)                   | `Yes`                         |
| ຮອງຮັບທຸງ (flags) [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-flags)                 | `Yes`                         |
| ສະຖານະເພີ່ມເຕີມ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-states)                  | `Needs editing`               |
| ຕົວລະບຸ API                                                                                     | `ts`                          |
| ຮອງຮັບຂໍ້ຄວາມແບບອ່ານຢ່າງດຽວ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#read-only-strings)  | `No`                          |
| ຮອງຮັບການລຶບຂໍ້ຄວາມທີ່ລ້າສະໄໝ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#obsolete-strings) | `No`                          |
<!-- AUTOGENERATED END: format-features ts -->

## ເວີຊັນ 1

ຮູບແບບເກົ່າຮອງຮັບຂໍ້ຄວາມ, ບໍລິບົດ (contexts) ແລະ ສະຖານະທີ່ຍັງບໍ່ສຳເລັດ. ມັນບໍ່ຮອງຮັບພະຫຸພົດ (plurals), ຕຳແໜ່ງ (locations), ຄຳອະທິບາຍ ຫຼື ແຟລັກຂອງ Weblate.

<!-- AUTOGENERATED START: format-features ts1 -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### ຄຸນສົມບັດທີ່ຮອງຮັບ

| ນາມສະກຸນໄຟລ໌                                                                                    | `.ts`                         |
|-------------------------------------------------------------------------------------------------|-------------------------------|
| ຈຳນວນພາສາ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#bimono)                               | ເປັນທັງແບບພາສາດຽວ ແລະ ສອງພາສາ |
| ຮອງຮັບພະຫູພົດ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-plurals)                   | `No`                          |
| ຮອງຮັບຄຳອະທິບາຍ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-description)             | `No`                          |
| ຮອງຮັບຄຳຊີ້ແຈງ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-explanation)              | `No`                          |
| ຮອງຮັບບໍລິບົດ (context) [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-context)         | `Yes`                         |
| ຮອງຮັບຕຳແໜ່ງ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-location)                   | `No`                          |
| ຮອງຮັບທຸງ (flags) [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-flags)                 | `No`                          |
| ສະຖານະເພີ່ມເຕີມ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#format-states)                  | `Needs editing`               |
| ຕົວລະບຸ API                                                                                     | `ts1`                         |
| ຮອງຮັບຂໍ້ຄວາມແບບອ່ານຢ່າງດຽວ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#read-only-strings)  | `No`                          |
| ຮອງຮັບການລຶບຂໍ້ຄວາມທີ່ລ້າສະໄໝ [ⓘ](https://docs.weblate.org/lo/latest/formats.md#obsolete-strings) | `No`                          |
<!-- AUTOGENERATED END: format-features ts1 -->

## ການຕັ້ງຄ່າ Weblate

|                            | [ການຕັ້ງຄ່າ Component](https://docs.weblate.org/lo/latest/admin/projects.md#component) ຂອງ Weblate ໂດຍປົກກະຕິເມື່ອໃຊ້ແບບສອງພາສາ   |
|----------------------------|--------------------------------------------------------------------------------------------------------------------------|
| ໜ້າກາກໄຟລ໌                 | `i18n/app.*.ts`                                                                                                          |
| ໄຟລ໌ພາສາຫຼັກ (Monolingual) | ຫວ່າງເປົ່າ                                                                                                               |
| ແມ່ແບບສຳລັບການແປໃໝ່        | `i18n/app.de.ts`                                                                                                         |
| ຮູບແບບໄຟລ໌                 | Qt Linguist translation file<br/>(version 2)                                                                             |

|                            | [ການຕັ້ງຄ່າ Component](https://docs.weblate.org/lo/latest/admin/projects.md#component) ຂອງ Weblate ໂດຍປົກກະຕິເມື່ອໃຊ້ແບບພາສາດຽວ   |
|----------------------------|--------------------------------------------------------------------------------------------------------------------------|
| ໜ້າກາກໄຟລ໌                 | `i18n/app.*.ts`                                                                                                          |
| ໄຟລ໌ພາສາຫຼັກ (Monolingual) | `i18n/app.en.ts`                                                                                                         |
| ແມ່ແບບສຳລັບການແປໃໝ່        | `i18n/app.en.ts`                                                                                                         |
| ຮູບແບບໄຟລ໌                 | Qt Linguist translation file<br/>(version 2)                                                                             |

ສຳລັບໄຟລ໌ເວີຊັນ 1, ໃຫ້ໃຊ້ການຕັ້ງຄ່າດຽວກັນ ແລະ ເລືອກ ໄຟລ໌ການແປ Qt Linguist (ເວີຊັນ 1) ເປັນຮູບແບບໄຟລ໌.
