英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论