跳至內容
Content translation

Search and replace in translations

Find a word across your store content and replace it in your translations, with a preview of every change before anything is saved.

尚未提供繁體中文版本,目前顯示英文版。

Search your store content for a word or phrase, then replace it in your translations. You see every change before it is saved.

請聯絡我們以啟用此功能

Plans that include replacing text:

Free 方案:不包含

Before you start

  • Add at least one language besides your store's language. Replace only changes translations. It never changes your original text.
  • Searching all your content from the 內容翻譯 page, and the full results page, is a separate feature:
請聯絡我們以啟用此功能 Free 方案:不包含

On plans without it, search and replace from the editor instead. See Replace from the editor.

Steps

These steps start from the Content page and the results page, which need Regional or higher. On Local Plus, use Replace from the editor.

Find the search card

In SmartCS, open 內容翻譯. The card 搜尋並替換您的翻譯 sits above the list of resources.

The Search and replace your translation card, with the Search your content field highlighted.

Search your content

Click 搜尋您的內容 and type at least 2 characters. Results appear under the field, grouped by resource type. The search is accent-sensitive, so "cafe" does not find "café".

Search results listed under the Search your content field, with the field highlighted.

Use the filters under the field to narrow the results by 頁面型別, 語言, 市場 or 頁面 URL. Click a result to open it in the editor.

Show all results

Click 顯示所有結果. The 搜尋結果 page lists every match, 20 items per page. You can tick up to 500 matches in translations to replace only those.

The Search results page for the search 'the', with the filters, the resource type chips and the table of matches.

Open the Replace window

Click 替換 at the top of the page. The button stays off until at least one match is in a translation. The window 替換文字 opens.

The Replace text window with the Find and Replace with fields, two checkboxes and the Languages list.

Set the replacement

查詢 is filled in with your search text. You can change it. Type the new text in 替換為, or leave it empty to remove the text. The new text can have up to 255 characters, and it cannot contain HTML or Liquid. Tick 區分大小寫 or 全字匹配 if you need them. Under 語言, choose the languages to change.

Preview the changes

Click 預覽. 替換 stays off until you preview the current settings, so preview again after any change. The window lists up to 50 changes, each shown before and after. It also lists what stays unchanged under 保持不變, with a reason for each.

The Replace text window after Preview, listing changes before and after and the totals.

Replace the text

Click 替換. A small replace runs at once. A larger one runs in the background, and the button reads 在後臺替換.

Replace from the editor

You can also search inside the editor. Open a resource group in 內容翻譯, type at least 2 characters in 搜尋, and select the All chip. When the matches are in more than one resource type, the button 替換所有專案中的「your search text」 appears under the results. If the matches are all in one resource type, there is no button. The button opens the same 替換文字 window.

Good to know

  • A translation you edited by hand is left unchanged. After the preview, tick the box that offers to replace it too.
  • Translations in conflict with Shopify, blocked elements, text that exists only in code, text where the change would break the formatting, and translations that use the default translation are also left unchanged. For the last group, replace the text in your default translation instead. See Block elements from translation.
  • The old text of each changed translation is kept as a version. See Translation history and revert.
  • The new text should not contain the search text. If it does, running Replace again replaces it again.
  • You can search up to 60 times per minute, and run up to 10 replaces per hour.

最後更新:2026年11月18日

本頁內容