<a id="xlsx"></a>

# Excel Open XML

Excel 開啟 XML（.xlsx）檔案可以匯入和匯出。

上傳 XLSX 檔案進行翻譯時，請注意只會處理作用中的工作表，而且至少必須有名為 `source` 的欄（包含來源字串）及名為 `target` 的欄（包含譯文）。此外，應有名為 `context` 的欄（包含翻譯字串的上下文路徑）。使用 XLSX 下載功能將翻譯匯出為 Excel 活頁簿時，取得的檔案已採用正確格式。

Workbook archives must fit the [`TRANSLATION_UPLOAD_MAX_SIZE`](https://docs.weblate.org/zh-tw/latest/admin/config.md#std-setting-TRANSLATION_UPLOAD_MAX_SIZE) limit
after decompression, including shared strings and inactive worksheets. The same
limit applies to the UTF-8 CSV content produced during conversion, including
quoting. These limits also apply to files read from a repository.
Archives may contain at most 100,000 ZIP entries.

Weblate reads at most 100,000 worksheet rows after the header. Blank and
formatting-only rows within the worksheet's data range count toward this read
limit. The archive must also fit [`TRANSLATION_MAX_SIZE`](https://docs.weblate.org/zh-tw/latest/admin/config.md#std-setting-TRANSLATION_MAX_SIZE) before parsing.

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

#### 支援的功能

| 副檔名                                                                            | `.xlsx`         |
|--------------------------------------------------------------------------------|-----------------|
| 語言能力 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#bimono)                   | 單語言和雙語言         |
| 支援複數 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-plurals)           | `Yes`           |
| 支援描述 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-description)       | `Yes`           |
| 支援解釋 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-explanation)       | `No`            |
| 支援情境 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-context)           | `Yes`           |
| 支援位置 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-location)          | `Yes`           |
| 支援旗標 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-flags)             | `No`            |
| 額外狀態 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#format-states)            | `Needs editing` |
| API 辨識碼                                                                        | `xlsx`          |
| 支援唯讀字串 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#read-only-strings)      | `No`            |
| 支援移除已不再使用的字串 [ⓘ](https://docs.weblate.org/zh-tw/latest/formats.md#obsolete-strings) | `No`            |
<!-- AUTOGENERATED END: format-features xlsx -->

## Weblate 設定

|           | 典型的 Weblate [組件設定](https://docs.weblate.org/zh-tw/latest/admin/projects.md#component)   |
|-----------|-----------------------------------------------------------------------------|
| 檔案遮罩      | `path/*.xlsx`                                                               |
| 單語言基底語言檔案 | `path/en.xlsx`                                                              |
| 新翻譯的範本    | `path/en.xlsx`                                                              |
| 檔案格式      | Excel Open XML                                                              |
