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

Fix #558: SMS does not respect accept-language #559

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

banterCZ
Copy link
Member

@banterCZ banterCZ commented Dec 8, 2022

Update script for existing environments

alter table es_onboarding_process add column custom_data VARCHAR(1024) NOT NULL default '{}';

Copy link
Member

@petrdvorak petrdvorak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK

@banterCZ banterCZ merged commit b8c592d into develop Dec 8, 2022
@banterCZ banterCZ deleted the issues/558-sms-accept-language branch December 8, 2022 10:09
@romanstrobl
Copy link
Member

What happens when the user switches language during onboarding process in app settings, will the next SMS arrive in correct language?

@banterCZ
Copy link
Member Author

banterCZ commented Dec 9, 2022

What happens when the user switches language during onboarding process in app settings, will the next SMS arrive in correct language?

Good point! We have discussed it with @kober32 and accepted that scenario. Do you expect that it will happen often? If so, we may update custom_data more often, but is it too big overhead?

@romanstrobl
Copy link
Member

I suggest to raise a separate ticket. The overhead is minimal, we can just check whether the language has changed and update the locale.

@banterCZ
Copy link
Member Author

banterCZ commented Dec 9, 2022

Opened #563

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 this pull request may close these issues.

3 participants