> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 以顧客的語言列印

> 依每位顧客購物時使用的語言列印日期和文字，不需要為每種語言另外建立範本。

如果您以多種語言銷售，範本可以依照每位顧客購物時使用的語言列印。這樣一來，法國顧客的發票會以法文列印日期和 Foliant 的文字，德國顧客的則以德文列印，全部來自同一個範本。您只需為每個範本設定一次，之後照常列印即可。

## 開啟此功能

1. 前往 **模板**。
2. 在 **自動選擇合適的範本** 下方，找到 **以顧客的語言列印**，然後點擊 **設定**（如果已開啟，則點擊 **編輯**）。
3. 勾選應以顧客語言列印的範本。
4. 點擊 **儲存**。

您也可以只為單一範本設定：在該範本的設定中，將 **文件語言** 設為 **顧客的語言**。

## 列印時會有哪些變化

* 日期會以顧客的語言列印，例如月份名稱。
* Foliant 範本和視覺化編輯器內建的文字會依照顧客的語言顯示。
* 您自己撰寫的文字會維持原樣。
* 如果 Foliant 無法判斷顧客的語言，文件會以您商店的語言列印。

列印頁面上沒有任何變化：照常勾選範本，每筆訂單就會以該顧客的語言列印。

## 注意事項

* 程式碼範本也可以在第一語言旁邊列印 **第二語言**，例如 *Rechnung / Invoice*，只要其 Liquid 使用了 `t_both` 即可。第二語言也可以設為 **顧客的語言**。請參閱[日期、語言和翻譯](https://foliant-help.iforiti.com/zh-Hant/template-editor/liquid-dates-and-languages.md)。
* 草稿訂單（例如報價單）一律以您商店的語言列印，即使設為 **顧客的語言** 也一樣。
* 揀貨單和出貨清單無法使用 **顧客的語言**，因為一份文件涵蓋多位顧客。

## 相關文章

* [訂單會列印哪個範本](https://foliant-help.iforiti.com/zh-Hant/printing/which-template-prints.md)
* [模板](https://foliant-help.iforiti.com/zh-Hant/templates.md)
* [日期、語言和翻譯](https://foliant-help.iforiti.com/zh-Hant/template-editor/liquid-dates-and-languages.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.