-
Hi, I don't know if this is the right place to ask, but I was wondering, how to get the user's locale to display an embedded app with the same language as its admin? Maybe it's more related to app bridge, but I can't find any answer |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @JumBay 👋🏽 You can use the Admin GraphQL API to query for shop's locale details, including the default locale. |
Beta Was this translation helpful? Give feedback.
-
Yes, I just asked the team that maintains App Bridge and they've confirmed using the |
Beta Was this translation helpful? Give feedback.
Yes, I just asked the team that maintains App Bridge and they've confirmed using the
appState.staffMember.locale
is the correct way to get the current admin user's locale 😺 Thank you for sharing, I didn't know about this!