#dævid-upcominginvoice-locale
1 messages · Page 1 of 1 (latest)
hello, not sure this is supported, checking
typically where does this localization happen, on the Invoice right?
yes, from this endpoint
https://stripe.com/docs/api/invoices/upcoming?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes that is the endpoint you're using, I was wondering where your user typically sees it, on the actual Invoice PDF you send them right?
i using thisAPI endpoint to retrieve the data and render on our frontend, actually to generate a preview of prorations before submit subscription updates
the description is provided by stripe API in english, even the customers lang is set to german
looking one sec
yeah I don't think the API supports localized messages there, I think it localizes on the frontend like on the Invoice PDF etc but not raw in the API
the invoice PDF has the same problem, the whole invoice is in german except the line item description
so i assume this is not just an API problem, right?
ah ok that helps, then I don't think the description field is ever localized
are there any plans in future to implement i18n on item description? thats a very important point to invoice in right language