# ຂະບວນການແປ

<a id="voting"></a>

## ການລົງຄະແນນສຽງການແນະນຳ

ທຸກຄົນສາມາດເພີ່ມຄໍາແນະນໍາໄດ້ໂດຍເລີ່ມຕົ້ນ, ເພື່ອໃຫ້ຜູ້ໃຊ້ທີ່ລັອກອິນຍອມຮັບ. ການລົງຄະແນນສຽງສໍາລັບຄໍາແນະນໍາສາມາດຖືກໃຊ້ເພື່ອໃຊ້ງານຂໍ້ຄວາມເມື່ອມີຜູ້ໃຊ້ທີ່ລັອກອິນຫຼາຍກວ່າໜຶ່ງຄົນເຫັນດີ, ໂດຍການຕັ້ງຄ່າ [ການຕັ້ງຄ່າ Component](https://docs.weblate.org/lo/latest/admin/projects.md#component) ດ້ວຍ Suggestion voting ເພື່ອເປີດໃຊ້ການລົງຄະແນນ, ແລະ Automatically accept suggestions ເພື່ອກໍານົດເກນສໍາລັບຄໍາແນະນໍາທີ່ຍອມຮັບ (ນີ້ລວມເຖິງຄະແນນສຽງຈາກຜູ້ໃຊ້ທີ່ສ້າງຄໍາແນະນໍານັ້ນຫາກໄດ້ມີການລົງຄະແນນ).

#### NOTE
ເມື່ອການຍອມຮັບອັດຕະໂນມັດຖືກຕັ້ງຄ່າແລ້ວ, ຜູ້ໃຊ້ປົກກະຕິຈະເສຍສິດພິເສດໃນການບັນທຶກການແປໂດຍກົງ ຫຼື ຍອມຮັບຄໍາແນະນໍາ. ສິ່ງນີ້ສາມາດຖືກ override ໄດ້ດ້ວຍ [permission](https://docs.weblate.org/lo/latest/admin/access.md#privileges) Edit string when suggestions are enforced.

ທ່ານສາມາດລວມສິ່ງເຫຼົ່ານີ້ເຂົ້າກັບ [access control](https://docs.weblate.org/lo/latest/admin/access.md#access-control) ເພື່ອເປັນໜຶ່ງໃນການຕັ້ງຄ່າດັ່ງຕໍ່ໄປນີ້:

* ຜູ້ໃຊ້ແນະນໍາ ແລະ ລົງຄະແນນສຽງໃຫ້ຄໍາແນະນໍາ ແລະ ກຸ່ມຈໍາກັດຄວບຄຸມສິ່ງທີ່ຖືກຍອມຮັບ.
  - ເປີດໃຊ້ການລົງຄະແນນ.
  - ປິດການຍອມຮັບອັດຕະໂນມັດ.
  - ຢ່າໃຫ້ຜູ້ໃຊ້ບັນທຶກການແປ.
* ຜູ້ໃຊ້ແນະນໍາ ແລະ ລົງຄະແນນສຽງໃຫ້ຄໍາແນະນໍາພ້ອມດ້ວຍການຍອມຮັບອັດຕະໂນມັດເມື່ອມີຈໍານວນຜູ້ເຫັນດີຕາມທີ່ກໍານົດ.
  - ເປີດໃຊ້ການລົງຄະແນນ.
  - ກໍານົດຈໍານວນຄະແນນສຽງທີ່ຕ້ອງການສໍາລັບການຍອມຮັບອັດຕະໂນມັດ.
* ການລົງຄະແນນສຽງທາງເລືອກສໍາລັບຄໍາແນະນໍາ. (ສາມາດໃຊ້ໂດຍຜູ້ໃຊ້ເມື່ອພວກເຂົາບໍ່ແນ່ໃຈກ່ຽວກັບການແປໂດຍການສ້າງຄໍາແນະນໍາຫຼາຍອັນ.)
  - ເປີດໃຊ້ສະເພາະການລົງຄະແນນ.

<a id="additional"></a>

## ຂໍ້ມູນເພີ່ມເຕີມກ່ຽວກັບຂໍ້ຄວາມຕົ້ນສະບັບ

ປັບປຸງຂະບວນການແປໂດຍການເພີ່ມຂໍ້ມູນເພີ່ມເຕີມໃຫ້ກັບຂໍ້ຄວາມ ລວມທັງຄໍາອະທິບາຍ, ຄວາມສໍາຄັນຂອງຂໍ້ຄວາມ, ທຸງການກວດສອບ ແລະ ບໍລິບົດທາງສາຍຕາ. ຂໍ້ມູນບາງຢ່າງອາດຖືກສະກັດອອກຈາກໄຟລ໌ການແປ ແລະ ບາງຢ່າງອາດຖືກເພີ່ມໂດຍການແກ້ໄຂຂໍ້ມູນຂໍ້ຄວາມເພີ່ມເຕີມ:

![image](screenshots/source-review-edit.webp)

ເຂົ້າເຖິງສິ່ງນີ້ໂດຍກົງຈາກອິນເຕີເຟດການແປໂດຍການຄລິກໄອຄອນ "Edit" ຂ້າງ Screenshot context ຫຼື Flags.

![image](screenshots/source-information.webp)

#### SEE ALSO
* [ຕຳແໜ່ງຂອງຂໍ້ຄວາມຕົ້ນສະບັບ](https://docs.weblate.org/lo/latest/formats.md#format-location)
* [ຄຳອະທິບາຍຂໍ້ຄວາມຕົ້ນສະບັບ](https://docs.weblate.org/lo/latest/formats.md#format-description)
* [ບໍລິບົດ](https://docs.weblate.org/lo/latest/formats.md#format-context)

### ການຈັດລໍາດັບຄວາມສໍາຄັນຂອງຂໍ້ຄວາມ

ຄວາມສໍາຄັນຂອງຂໍ້ຄວາມສາມາດປ່ຽນແປງໄດ້ເພື່ອໃຫ້ຂໍ້ຄວາມທີ່ມີຄວາມສໍາຄັນສູງກວ່າໄດ້ຮັບການແປກ່ອນໂດຍການໃຊ້ທຸງ `priority`.

#### HINT
ສິ່ງນີ້ສາມາດໃຊ້ເພື່ອຈັດລໍາດັບການໄຫຼວຽນຂອງການແປຢ່າງມີເຫດຜົນ.

#### SEE ALSO
[ການປັບແຕ່ງພຶດຕິກຳໂດຍໃຊ້ທຸງ (flags)](https://docs.weblate.org/lo/latest/admin/checks.md#custom-checks)

<a id="additional-flags"></a>

### ແຟລັກການແປ

ການປັບແຕ່ງການກວດສອບຄຸນນະພາບ ແລະ ພຶດຕິກໍາອື່ນໆຂອງ Weblate, ເບິ່ງ [ການປັບແຕ່ງພຶດຕິກຳໂດຍໃຊ້ທຸງ (flags)](https://docs.weblate.org/lo/latest/admin/checks.md#custom-checks).

ທຸງຂອງຂໍ້ຄວາມຍັງຖືກສືບທອດມາຈາກ [ແຟລັກການແປ](https://docs.weblate.org/lo/latest/admin/projects.md#component-check-flags) ທີ່ [ການຕັ້ງຄ່າ Component](https://docs.weblate.org/lo/latest/admin/projects.md#component) ແລະ ທຸງຈາກໄຟລ໌ການແປ (ເບິ່ງ [ຮູບແບບໄຟລ໌ການແປພາສາ](https://docs.weblate.org/lo/latest/formats.md)).

Use Source flags — all languages to configure every translation of
a string, and Translation flags to configure the current language.
Translation flags override source values such as `max-length` and `max-size`.
Removing a local value restores the inherited value. An explicit `read-only`
flag on the source applies to every language and cannot be discarded by a
translation.

The Tools menu can mark one translation or all languages read-only.
When a translation is already read-only, choose
Make read-only apply to all languages to move its flag to the source.
Removing source-wide read-only preserves independently set translation flags.
Editing flags requires source editing permission, or glossary editing permission
for glossary entries, in each affected language.

#### SEE ALSO
* [ການກວດສອບຄຸນນະພາບ](https://docs.weblate.org/lo/latest/user/checks.md#checks)
* [ການປັບແຕ່ງພຶດຕິກຳໂດຍໃຊ້ທຸງ (flags)](https://docs.weblate.org/lo/latest/admin/checks.md#custom-checks)

<a id="additional-explanation"></a>

### ຄຳອະທິບາຍ

#### Versionchanged
Changed in version 4.1: ໃນເວີຊັນກ່ອນໜ້ານີ້ ສິ່ງນີ້ຖືກເອີ້ນວ່າ Extra context.

#### Versionchanged
Changed in version 4.18: ການຮອງຮັບການຊິງຄ໌ (sync) ຄໍາອະທິບາຍກັບໄຟລ໌ໄດ້ຖືກນໍາສະເໜີ.

ໃຊ້ຄໍາອະທິບາຍເພື່ອເຮັດໃຫ້ຂອບເຂດ ຫຼື ການນໍາໃຊ້ການແປມີຄວາມຊັດເຈນ. ທ່ານສາມາດໃຊ້ Markdown ເພື່ອລວມລິ້ງ ແລະ markup ອື່ນໆ.

ບາງ format ໄຟລ໌ຮອງຮັບການຈັດເກັບຄໍາອະທິບາຍໄວ້ພາຍໃນໄຟລ໌, ເບິ່ງ [ຄຳອະທິບາຍ](https://docs.weblate.org/lo/latest/formats.md#format-explanation).

#### HINT
Weblate ຍັງສາມາດສະແດງຄໍາອະທິບາຍທີ່ມີໃນໄຟລ໌ການແປສໍາລັບບາງ format, ເບິ່ງ [ຄຳອະທິບາຍຂໍ້ຄວາມຕົ້ນສະບັບ](https://docs.weblate.org/lo/latest/formats.md#format-description).

<a id="screenshots"></a>

## ພາບໜ້າຈໍ ແລະ ບໍລິບົດທາງສາຍຕາ

ທ່ານສາມາດອັບໂຫຼດພາບໜ້າຈໍທີ່ສະແດງໃຫ້ເຫັນຂໍ້ຄວາມຕົ້ນສະບັບທີ່ກໍາລັງຖືກໃຊ້ໃນໂປຣແກຣມຂອງທ່ານ. ສິ່ງນີ້ຊ່ວຍໃຫ້ນັກແປເຂົ້າໃຈວ່າພວກມັນຖືກໃຊ້ຢູ່ໃສ, ແລະ ຄວນແປຢ່າງໃດ.

ພາບໜ້າຈໍທີ່ອັບໂຫຼດຈະສະແດງໃນແຖບດ້ານຂ້າງບໍລິບົດການແປ:

![image](screenshots/screenshot-context.webp)

ນອກຈາກ [ຂໍ້ມູນເພີ່ມເຕີມກ່ຽວກັບຂໍ້ຄວາມຕົ້ນສະບັບ](#additional) ແລ້ວ, ພາບໜ້າຈໍສາມາດຖືກຈັດການໃນ Weblate UI, ຮັກສາການຊິງຄ໌ຈາກ repository, ຫຼື ຈັດການຜ່ານ [REST API ຂອງ Weblate](https://docs.weblate.org/lo/latest/api.md#api).

### ການຈັດການພາບໜ້າຈໍໃນສ່ວນຕິດຕໍ່ຜູ້ໃຊ້

Each screenshot is stored for a specific translation language. In the
translate page, screenshots attached to the source language are shown for
every translation of the string, while screenshots attached to any other
language are shown only for that language. You can add a screenshot directly
from the translate page using Upload screenshot in the
Screenshots panel, or open the separate management
interface under the Operations menu. There you can upload
screenshots, assign them to source strings manually, or let Weblate find
strings in the image using optical character recognition (OCR). Recognition runs
in the background when a screenshot is added or replaced. Open the
Image text tab to review suggested source strings. If recognition is
still running, the list updates automatically when results are ready. Use
Search to find source strings manually.

Recognized text is cached and refreshed when the image or recognition software
changes. Existing screenshots are processed when opened if cached results are
missing or outdated. Recognition does not assign strings automatically.

Image text suggestions process at most 512 recognized text parts and show at
most 250 source strings. On dense images or large components, Weblate shows
the matches found within the processing time limit and indicates when
suggestions may be incomplete. Use Search to find other source
strings.

Matching source strings can be assigned individually, in a selected batch, or
all at once.

To associate an uploaded screenshot with the current string, use
Add existing screenshot in the translation editor. See
[Adding an existing screenshot](https://docs.weblate.org/lo/latest/user/translating.md#add-existing-screenshot) for the workflow and required permission.

ລາຍການພາບໜ້າຈໍຈະສະຫຼຸບພາບໜ້າຈໍທີ່ອັບໂຫຼດໄວ້ ແລະໃຫ້ທ່ານຄົ້ນຫາ ຫຼືກັ່ນຕອງພວກມັນໄດ້:

![image](screenshots/screenshot-listing.webp)

ເມື່ອອັບໂຫຼດພາບໜ້າຈໍແລ້ວ, ອິນເຕີເຟດນີ້ຈະຈັດການການບໍລິຫານ ແລະການເຊື່ອມໂຍງຂໍ້ຄວາມຕົ້ນສະບັບ:

![image](screenshots/screenshot-ocr.webp)

ໃຊ້ການຄົ້ນຫາໃນລາຍການພາບໜ້າຈໍເພື່ອຊອກຫາພາບໜ້າຈໍຕາມຊື່, ເສັ້ນທາງ repository, ພາສາ, ຂໍ້ຄວາມຕົ້ນສະບັບທີ່ກຳນົດ, ບໍລິບົດຂອງຂໍ້ຄວາມຕົ້ນສະບັບ, ຫຼືຕຳແໜ່ງຂອງຂໍ້ຄວາມຕົ້ນສະບັບ. ການຄົ້ນຫາຮອງຮັບທັງຂໍ້ຄວາມທົ່ວໄປ ແລະການສອບຖາມພາບໜ້າຈໍຂັ້ນສູງ, ເບິ່ງ [ການຄົ້ນຫາຮູບໜ້າຈໍ](https://docs.weblate.org/lo/latest/user/search.md#search-screenshots). ຕົວຢ່າງ, ໃຊ້ `NOT has:string` ເພື່ອຊອກຫາພາບໜ້າຈໍທີ່ຍັງບໍ່ໄດ້ກຳນົດ, `has:string` ເພື່ອຊອກຫາພາບໜ້າຈໍທີ່ກຳນົດແລ້ວ, ຫຼື `repository:fastlane` ເພື່ອກວດສອບພາບໜ້າຈໍທີ່ພົບຈາກເສັ້ນທາງ repository.

ທ່ານສາມາດອັບໂຫຼດພາບໜ້າຈໍຈາກໄຟລ໌ໃນເຄື່ອງ, ວາງຈາກ clipboard, ຫຼືລະບຸ URL ເພື່ອດາວໂຫຼດຮູບຈາກແຫຼ່ງພາຍນອກ. ການອັບໂຫຼດຜ່ານ URL ອາດຈະຖືກຈຳກັດໂດຍອີງຕາມການຕັ້ງຄ່າ [`ALLOWED_ASSET_DOMAINS`](https://docs.weblate.org/lo/latest/admin/config.md#std-setting-ALLOWED_ASSET_DOMAINS) ເຊິ່ງຄວບຄຸມວ່າໂດເມນໃດທີ່ເຊື່ອຖືໄດ້ສຳລັບການດາວໂຫຼດຊັບສິນພາຍນອກ, ລວມເຖິງການປ່ຽນເສັ້ນທາງ (redirects) ທັງໝົດທີ່ຕິດຕາມໃນຂະນະດຶງຮູບ, ແລະ [`ASSET_RESTRICT_PRIVATE`](https://docs.weblate.org/lo/latest/admin/config.md#std-setting-ASSET_RESTRICT_PRIVATE) ເຊິ່ງຈະປະຕິເສດເປົ້າໝາຍພາຍໃນ ຫຼືທີ່ບໍ່ແມ່ນສາທາລະນະ ເວັ້ນເສຍແຕ່ວ່າຈະຖືກລວມຢູ່ໃນ [`ASSET_PRIVATE_ALLOWLIST`](https://docs.weblate.org/lo/latest/admin/config.md#std-setting-ASSET_PRIVATE_ALLOWLIST). ການຕັ້ງຄ່າ [`ALLOWED_ASSET_SIZE`](https://docs.weblate.org/lo/latest/admin/config.md#std-setting-ALLOWED_ASSET_SIZE) ຈະຈຳກັດຂະໜາດສູງສຸດຂອງຊັບສິນນັ້ນ.

### ການຈັດການພາບໜ້າຈໍຈາກ repository

ທ່ານສາມາດເພີ່ມ ຫຼືອັບເດດພາບໜ້າຈໍໂດຍກົງຈາກ repository ລະບົບຄວບຄຸມເວີຊັນ (VCS) ຂອງທ່ານ.

ເພື່ອເປີດໃຊ້ຟີເຈີນີ້, ທ່ານສາມາດຕັ້ງຄ່າໜ້າກາກໄຟລ໌ພາບໜ້າຈໍໃນຂະນະສ້າງອົງປະກອບ, ເຊິ່ງຈະຖືກຕິດຕາມການອັບເດດໃນ repository, ຫຼືທ່ານສາມາດເພີ່ມ ຫຼືອັບເດດພາບໜ້າຈໍໃນຂະນະອັບໂຫຼດດ້ວຍຕົນເອງ.

ເພື່ອເຊື່ອມຕໍ່ພາບໜ້າຈໍທີ່ອັບໂຫຼດດ້ວຍຕົນເອງກັບການອັບເດດ repository ໃນພາຍຫຼັງ, ໃຫ້ຕື່ມຂໍ້ມູນໃສ່ Repository path to screenshot ດ້ວຍເສັ້ນທາງທີ່ຖືກຕິດຕາມຢູ່ໃນ repository.

ເມື່ອ repository ຖືກອັບເດດ, ລະບົບຈະສະແກນການປ່ຽນແປງໂດຍອັດຕະໂນມັດ. ພາບໜ້າຈໍທີ່ມີຢູ່ໃນ repository ຈະຖືກອັບເດດ, ແລະພາບໜ້າຈໍໃໝ່ທີ່ກົງກັບໜ້າກາກໄຟລ໌ພາບໜ້າຈໍທີ່ລະບຸຈະຖືກເພີ່ມເຂົ້າໃນອົງປະກອບ.

ສຳລັບໂປຣເຈັກແອັບພລິເຄຊັນ, ເວີກໂຟລທີ່ໃຊ້ງານໄດ້ຈິງແມ່ນ:

1. ບັນທຶກພາບໜ້າຈໍພາສາຕົ້ນສະບັບສຳລັບສ່ວນຕິດຕໍ່ຜູ້ໃຊ້ທີ່ເຫັນໄດ້ຊັດເຈນທີ່ສຸດ.
2. ຈັດເກັບພວກມັນໄວ້ໃນເສັ້ນທາງ repository ທີ່ໝັ້ນຄົງ, ຕົວຢ່າງເຊັ່ນພາຍໃຕ້ `fastlane/metadata/android/en-US/images/phoneScreenshots/`.
3. ຕັ້ງຄ່າ [ໜ້າກາກໄຟລ໌ພາບໜ້າຈໍ](https://docs.weblate.org/lo/latest/admin/projects.md#component-screenshot-filemask) ສຳລັບເສັ້ນທາງນັ້ນ.
4. ອັບເດດ repository ຂອງອົງປະກອບເພື່ອໃຫ້ Weblate ຄົ້ນພົບ ຫຼືຮີເຟຣຊພາບໜ້າຈໍ.
5. Use image text recognition or source string search to assign screenshots to the matching source
   strings, and review the Source strings without screenshots
   counter for important strings still missing visual context.

#### SEE ALSO
[ໜ້າກາກໄຟລ໌ພາບໜ້າຈໍ](https://docs.weblate.org/lo/latest/admin/projects.md#component-screenshot-filemask)

![image](screenshots/screenshot-filemask-repository-filename.webp)

### ການຈັດການພາບໜ້າຈໍຜ່ານ API

ເວີກໂຟລຂອງພາບໜ້າຈໍຍັງມີໃຫ້ໃຊ້ງານຜ່ານ REST API. ໃຊ້ [`GET /api/components/(string:project)/(string:component)/screenshots/`](https://docs.weblate.org/lo/latest/api.md#get--api-components-(string-project)-(string-component)-screenshots-) ເພື່ອສະແດງລາຍການພາບໜ້າຈໍສຳລັບໜຶ່ງອົງປະກອບ, [`POST /api/screenshots/`](https://docs.weblate.org/lo/latest/api.md#post--api-screenshots-) ເພື່ອສ້າງພາບໜ້າຈໍ, [`POST /api/screenshots/(int:id)/file/`](https://docs.weblate.org/lo/latest/api.md#post--api-screenshots-(int-id)-file-) ເພື່ອແທນທີ່ຮູບພາບ, [`POST /api/screenshots/(int:id)/units/`](https://docs.weblate.org/lo/latest/api.md#post--api-screenshots-(int-id)-units-) ແລະ [`DELETE /api/screenshots/(int:id)/units/(int:unit_id)`](https://docs.weblate.org/lo/latest/api.md#delete--api-screenshots-(int-id)-units-(int-unit_id)) ເພື່ອຈັດການການເຊື່ອມໂຍງຂໍ້ຄວາມຕົ້ນສະບັບ, ແລະ [`DELETE /api/screenshots/(int:id)/`](https://docs.weblate.org/lo/latest/api.md#delete--api-screenshots-(int-id)-) ເພື່ອລຶບພາບໜ້າຈໍ. ອອບເຈັກ Screenshot API ຈະລວມເຖິງການແປທີ່ກ່ຽວຂ້ອງ ແລະເສັ້ນທາງ repository ທາງເລືອກທີ່ໃຊ້ສຳລັບການອັບເດດໂດຍອີງໃສ່ repository.
