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

IBX-9008: Added language helper #1370

Merged
merged 2 commits into from
Oct 18, 2024
Merged

IBX-9008: Added language helper #1370

merged 2 commits into from
Oct 18, 2024

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-9008

Description:

For QA:

Documentation:

@@ -0,0 +1,5 @@
const getLanguageCode = () => {
return window.document.querySelector('meta[name="LanguageCode"]')?.content;
Copy link
Contributor

@tischsoic tischsoic Oct 16, 2024

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)

Copy link
Contributor

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.

@tomaszszopinski tomaszszopinski self-assigned this Oct 17, 2024
Copy link

Copy link
Contributor

@tomaszszopinski tomaszszopinski left a 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.

@dew326 dew326 merged commit cd4176a into 4.6 Oct 18, 2024
28 checks passed
@dew326 dew326 deleted the IBX-9008 branch October 18, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants