#MrJamesF
1 messages · Page 1 of 1 (latest)
Hi,
No the description
https://stripe.com/docs/api/invoices/object#invoice_object-description
is returned as you set it.
in my example the description i get is "20 × ITEM NAME (Tier 2 at £11.99 / month)"
so it takes the name of the product and puts it in the description but is "Tier 2" and "Month" every translated to another language
if not, how do people usually translate this if the user is french
Ok you are referring to invoices with recurring billing:
https://support.stripe.com/questions/language-recognition-for-invoices-with-stripe-billing
So the preset values , like 'month' are translated, but the specification values( like item name) are not translated AFAIk.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
how does it decide which language to translate 'month' to?
do we have to pass a language param to the api call
you can use https://stripe.com/docs/api/customers/create#create_customer-preferred_locales on the customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.