# 比較佈景主題翻譯

依語言逐一檢查佈景主題語系檔案中有哪些翻譯鍵值變更。

這個唯讀頁面會比較您佈景主題語言檔案（`locales/*.json` 檔案）中的文字在實際佈景主題與備份之間的差異。使用它來了解哪些字詞有變更。

## 開啟頁面

<div class="guide-steps">

<div class="guide-step">


### 開啟佈景主題

在 **Home** 的 **Store data** 卡片中選取 **Themes**，然後選取該佈景主題。

</div>

<div class="guide-step">


### 選取 Open theme translations

選取佈景主題頁面頂部標題列中的 **Open theme translations**。**Theme translations** 頁面隨即開啟。導覽路徑會顯示佈景主題名稱。

</div>

<div class="guide-step">


### 選擇備份

使用 **Backup** 列中的 **Backup version** 選單選擇要比較的備份。

</div>

</div>

## 閱讀頁面

* **Language** 分頁：每個語言檔案一個分頁。分頁上的數字表示該語言有多少個鍵值變更。
* 左側的 **Translation groups**：鍵值的群組，每個群組都有自己的變更數量。第一個有變更的群組會自動開啟。
* 各列會顯示鍵值、即時值和備份值。空白值會顯示 **(empty)**。若某個鍵值在其中一側不存在，則顯示「—」。
* 每個群組一次顯示 100 個鍵值，例如「1–100 of 240 keys」。使用 **Previous** 和 **Next** 繼續瀏覽。

選取 **Open file comparison**，即可將該語言檔案以完整逐行比較的方式查看。請參閱[比較佈景主題檔案](/backup-and-restore-tipo/browse-and-compare/browse/themes/compare-theme-files)。

選取 **Open in Shopify admin**，即可在新分頁中於 Shopify 開啟該佈景主題的語言編輯器。

## 您可能看到的訊息

| 訊息 | 代表的意思 |
| --- | --- |
| This language isn't in your live theme | 顯示的所有鍵值都只來自備份。 |
| This language isn't in this backup | 顯示的所有鍵值都只來自您的實際佈景主題。 |
| One side of this language couldn't be read as JSON | 檔案已損壞或格式無效，因此無法比較其鍵值。 |
| **No translation files found** | 您的實際佈景主題和備份中都沒有任何 `locales/*.json` 檔案。 |
| **No backed-up translations yet** | 沒有任何備份包含此佈景主題的翻譯檔案。 |
| **Couldn't load theme translations** | 選取 **Try again**。 |

## 還原翻譯

此頁面沒有還原按鈕。若要找回翻譯，請還原該語言檔案或整個佈景主題。使用 **Open file comparison** 開啟檔案，並在該處使用 **Restore**，或是還原整個佈景主題。請參閱[還原單一項目](/backup-and-restore-tipo/restore/restore/restore-a-single-item)和[還原佈景主題](/backup-and-restore-tipo/restore/restore/restore-a-theme)。

## 後續步驟

* [比較佈景主題檔案](/backup-and-restore-tipo/browse-and-compare/browse/themes/compare-theme-files)
* [還原佈景主題](/backup-and-restore-tipo/restore/restore/restore-a-theme)
* [佈景主題](/backup-and-restore-tipo/browse-and-compare/browse/themes)
