#ml2e_api

1 messages · Page 1 of 1 (latest)

full novaBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1263152021146570884

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

next widget
#

Good question. Checking in to this and I will get back to you

modest marsh
#

Great. Thank you. If its not possible i need to know how the hosted page decides which languagew to display

high ice
#

hi! it uses the language set in the browser that is visiting the page, you(the merchant) can't control that.
See also https://support.stripe.com/questions/language-recognition-for-invoices-with-stripe-billing
i.e.

If you have manually set the user’s language to English but their browser settings are set to French, Stripe will prioritize the browser settings for the payment page and translate the page to French but will leave the PDF and email in the original language of your choice

modest marsh
#

That was my idea as well. But my os is english and also my browser language is english but the hosted page still shows german.

high ice
#

works for me on the Invoice you posted(I see the page in English in my main browser, and French in a different instance of Firefox I use to test such things and has that language set).

What does https://gtranslate.io/detect-browser-language show for you?

modest marsh
#

Yes i got it reproduced now. Works for me as well. Thanks to your link. German was indeed preferred language 1 in my browser settings even if the whole browser UI is english.

Anyhow that can be confusing for the customer flow if the languages switches. There is no way to set it yet like for billing_portal or? In billing portal i can say us "auto" for browser detection or a specific locale?

high ice
#

glad to hear you got it working! right now this isn't something you can customise , it's feedback we're aware of but no active plans at the moment