Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add selected interface app language #344

Closed
maximilian-schwarz opened this issue Feb 3, 2024 · 2 comments · Fixed by #345
Closed

Add selected interface app language #344

maximilian-schwarz opened this issue Feb 3, 2024 · 2 comments · Fixed by #345
Assignees

Comments

@maximilian-schwarz
Copy link

Is your feature request related to a problem? Please describe.
When I create a new field type plugin, I have no possibility to deliver e.g. texts, labels, descriptions, buttons in the language of the user, because I do not know the interface language of the user.

Describe the solution you'd like
Maybe add the storyblok interface language from the user to the message that the field type wrapper (parent) sends to the field type (child) via postMessage(). Now you can set the interface language in the Vue or React app and add the correct translations. If the language does not exist in the field plugin you can set a fallback.

@eunjae-lee
Copy link
Contributor

Hi @maximilian-schwarz thanks for reporting this issue. I agree you should have both interface lang and story lang. We'll take a look internally and will let you know when we work on this feature :)

@maximilian-schwarz
Copy link
Author

@eunjae-lee Glad to hear it. I'm really looking forward to the feedback after it has been discussed internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants