Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Bug: Stripe iframe in system language #566

Open
JumpLink opened this issue Apr 4, 2024 · 4 comments
Open

Bug: Stripe iframe in system language #566

JumpLink opened this issue Apr 4, 2024 · 4 comments

Comments

@JumpLink
Copy link
Contributor

JumpLink commented Apr 4, 2024

I have noticed that the iframe is displayed in the language of my browser / system even if Beabee itself is set to English. It would probably be better if the iframe used the language of the beabee instance. Perhaps the desired language can be transferred to Strapi?

image

@wpf500
Copy link
Member

wpf500 commented Apr 4, 2024

@JumpLink
Copy link
Contributor Author

JumpLink commented Apr 4, 2024

You mean it can using locale property?`

@wpf500
Copy link
Member

wpf500 commented Apr 4, 2024

Oh sorry I meant can be set here

@wpf500
Copy link
Member

wpf500 commented Apr 4, 2024

This is the relevant line https://github.com/beabee-communityrm/beabee-frontend/blob/main/src/components/StripePayment.vue#L115

I think we'd be able to use currentLocaleConfig.baseLocale to set this, as this refers to the language without any modifiers (e.g. @informal)

@wpf500 wpf500 changed the title Bug: Strapi iframe in system language Bug: Stripe iframe in system language Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants