> ## 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/cn/template-editor/liquid-dates-and-languages.md)。
* 草稿订单（例如报价单）始终以您商店的语言打印，即使设置了**客户的语言**也是如此。
* 拣货单和货运清单无法使用**客户的语言**：一份文档涵盖多位客户。

## 相关文章

* [订单会打印哪个模板](https://foliant-help.iforiti.com/cn/printing/which-template-prints.md)
* [模板](https://foliant-help.iforiti.com/cn/templates.md)
* [日期、语言和翻译](https://foliant-help.iforiti.com/cn/template-editor/liquid-dates-and-languages.md)


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