#philiiiiiipp
1 messages · Page 1 of 1 (latest)
Hello philiiiiiipp, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• philiiiiiipp, 1 days ago, 6 messages
Hi 👋
Do you mean localization? Translating into different languages based on the Accpet Language header from the browser?
Yes I mean localization, but in this case it would be for the invoices we send via email
Or you send based on subscriptions
AFAIK we do localize the descriptions and prices but Product Names are considered unique
Example: Coke is still called Coke in France, or Zimbabwe
Are they always ? Looking at a SaaS product you would say "50€ per user" in english but "50€ pro Nutzer" in german
When looking at the invoices I think the product names are shown on them and not the price names. I also cannot find a way to localize the price either actually
Wait I thought you said Product Name is what you were interested in localizing.
But this is more price/description.
Yes, sorry, maybe I need to clarify exactly. I am checking if I can make the invoices use the localised name
If thats even a possibility
You can test this by creating a Customer with a set preferred_locales https://stripe.com/docs/api/customers/create#create_customer-preferred_locales property and then generate an invoice for them.
Yes I did that, but it always uses the price name I gave it. Which makes sense to me since stripe does not know how to translate my own names.
Can I not set a different name for other locales ?
No I don't think we have that as a feature
Maybe I could listen to the invoice generation in the webhooks and then adjust the line item descriptors ?
The name of the Price/Product will not be localized but the payment descriptions are. Here is an example of a test I created just now
Once an invoice is finalized we do not allow editing of the line items. YOu will see they are not listed as a parameter in the Update API: https://stripe.com/docs/api/invoices/update
What about the invoice-item description ? https://stripe.com/docs/api/invoiceitems/update#update_invoiceitem-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Given that the invoice will still be in draft of course
In that case it might work. I would test this out first.