Stripe产品描述(中文):在两种语言中

huangapple go评论63阅读模式
英文:

Stripe product description in two languages

问题

我已在Stripe中创建了产品。这些产品的描述是用英语写的。我无法弄清楚如何输入另一种语言的第二个描述。

当我创建一个法语结账会话时,我希望产品描述在购物车中以法语显示。目前,结账会话是用法语进行的,但产品名称和描述仍然是英文的。

英文:

I have created products in stripe. The description of those products is in english. I cannot figure out how to enter a second description in a another language.

When I create a checkout session in french, I would like to the product descriptions to show up in french in the shopping cart. Right now, the checkout session is in french except for the product names and descriptions which are in english.

答案1

得分: 1

产品只能有一个描述,不幸的是,您说得对,描述将显示在结账会话中。

如果您事先知道您的受众语言,也许您可以创建具有相应语言的分开的产品,并相应地显示它们。

英文:

Product can only have 1 description unfortunately, and you are correct that description will show in Checkout Session.

If you know your audience language beforehand, probably you could create separated Products with respective languages and show them accordingly.

huangapple
  • 本文由 发表于 2023年6月26日 03:31:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/76552111.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定