#Gkiokan-invoice

1 messages · Page 1 of 1 (latest)

sacred flame
#

Hi! So if I understand correctly you want to localize the invoice item description, like "trial period for premium" on your screenshot?

rigid mural
#

This is correct

#

Fun fact is. When I checkout the Dashboard - as it is in german - it shows me the customer invoice information in german

#

This is from the Stripe Dashboard.

#

I guess there meight be an language property for the invoices API maybe?

#

Or on the customer object itself when I create /update them?

sacred flame
rigid mural
#

lemme check it out

#

Is there an global configuration? Just curious?

sacred flame
#

Is there an global configuration? Just curious?
I don't think so.

rigid mural
#

I had to refactor my customer creation and update methods but now it does say that the customer has German language but the existing invoice is description is still in english

#

I will try to order a new tier and see if it still is in english

#

Invoice data description is still in English. Does this affect computed item description from stripe?

sacred flame
#

You are right, I just tested this and the description is still in English. Hum...

rigid mural
#

I mean, I could compute the description string on my own, but would be nice if it would work out of the box as it does on the dashboard

#

Any hint maybe?

urban breach
#

Can you share the Invoice ID?

rigid mural
#

sure

#

in_1L552IHa5WPIKK5IrG60bOrE

urban breach
#

The customer preferred_locales field will have no impact on the subscription/invoice items. They're not localised according to that setting

#

If you want localised product/price data, then you'll need to create product/prices in each of the languages you need

rigid mural
#

prod_LmPKpnXEtgQqHuthis is the product that I am using for that tier. However I can't see any language options on the product edit page. This wouldn't matter as we would only deploy the application in germany, so therefor I thought maybe a general settings for the lang would be a fit but it doesn't seem to exist

#

The Description field is generated on the invoice list entry automatically. The Description field from the product has no impact on that either

#

If this is not possible it's not a big deal to make a custom computed* property on my application but would be great help for sure

urban breach
#

Yep, there's no language setting/field on the product. You'd just use whichever language you require

#

The Description field is generated on the invoice list entry automatically. The Description field from the product has no impact on that either
Indeed, I don't believe that can't be localised. let me confirm

rigid mural
#

Sure. If there is any config on stripe side to do let me know as we use the dashboard also only in german.

urban breach
#

Yep, unfortunately not configurable

#

I'll relay this feedback internally!

rigid mural
#

Thanks for your help.

urban breach
#

Np!