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

Update groups for new default language #5260

Conversation

ainouzgali
Copy link
Contributor

What change does this PR introduce?

Enterprise PR

When the default language is changed for the organization we should also update all associated translation groups with that new default language, meaning we should create a new empty translation but only when it doesn't exist.

Why was this change needed?

Other information (Screenshots)

Copy link

linear bot commented Mar 5, 2024

@ainouzgali ainouzgali marked this pull request as draft March 5, 2024 12:10
Base automatically changed from nv-3522-sort-the-languages-in-the-dropdown to next March 6, 2024 10:23
…ult-language-is-changed-update-the-groups

# Conflicts:
#	.source
Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for dev-web-novu failed.

Name Link
🔨 Latest commit 86b66eb
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/65e86cf2aa2fb80008a4f5b6

@ainouzgali ainouzgali marked this pull request as ready for review March 6, 2024 12:38
@ainouzgali ainouzgali merged commit eed84f9 into next Mar 7, 2024
21 of 25 checks passed
@ainouzgali ainouzgali deleted the nv-3509-when-the-default-language-is-changed-update-the-groups branch March 7, 2024 11:20
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.

2 participants