-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-9008: Added language helper #1370
Conversation
@@ -0,0 +1,5 @@ | |||
const getLanguageCode = () => { | |||
return window.document.querySelector('meta[name="LanguageCode"]')?.content; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider using ibexa.adminUiConfig.backOfficeLanguage
as a fallback, similarly to the getId
function in the user helper?
(on second thought this suggestion does not make much sense, but my mistake suggests that the naming of the helper function is not precise enough)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably should be content
helper.
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on IbexaDXP 4.6 commerce.
Description:
For QA:
Documentation: